Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Issue 1758913002: Add instantiate method on ParameterizedType and InterfaceType. (Closed)

Created:
4 years, 9 months ago by Leaf
Modified:
4 years, 9 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add instantiate method on ParameterizedType and InterfaceType, and deprecate the old substitute4 in favor of instantiate. BUG= R=brianwilkerson@google.com, jmesserly@google.com Committed: https://github.com/dart-lang/sdk/commit/7d2976c7d5829b55f3e29d14a5c5fff0584ee038

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -266 lines) Patch
M pkg/analysis_server/lib/src/services/refactoring/extract_method.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/src/utilities/change_builder_dart_test.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/dart/element/type.dart View 1 7 chunks +21 lines, -20 lines 0 comments Download
M pkg/analyzer/lib/src/dart/element/type.dart View 12 chunks +125 lines, -124 lines 0 comments Download
M pkg/analyzer/lib/src/generated/constant.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/src/generated/error_verifier.dart View 4 chunks +5 lines, -7 lines 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 8 chunks +13 lines, -13 lines 0 comments Download
M pkg/analyzer/lib/src/generated/static_type_analyzer.dart View 5 chunks +6 lines, -6 lines 0 comments Download
M pkg/analyzer/lib/src/generated/testing/element_factory.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/generated/testing/test_type_provider.dart View 7 chunks +7 lines, -7 lines 0 comments Download
M pkg/analyzer/lib/src/generated/type_system.dart View 1 chunk +1 line, -3 lines 0 comments Download
M pkg/analyzer/lib/src/summary/resynthesize.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/summary/summary_sdk.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M pkg/analyzer/lib/src/task/strong/checker.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/generated/resolver_test.dart View 21 chunks +39 lines, -39 lines 0 comments Download
M pkg/analyzer/test/generated/type_system_test.dart View 7 chunks +21 lines, -21 lines 0 comments Download
M pkg/analyzer/test/src/dart/element/element_test.dart View 6 chunks +9 lines, -9 lines 0 comments Download
M pkg/analyzer/tool/task_dependency_graph/generate.dart View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Leaf
This adds instantiate on the public ParameterizedType and InterfaceType APIs, with corresponding implementations. substitute4 is ...
4 years, 9 months ago (2016-03-02 21:33:50 UTC) #3
Jennifer Messerly
lgtm
4 years, 9 months ago (2016-03-02 21:40:12 UTC) #4
Brian Wilkerson
LGTM https://codereview.chromium.org/1758913002/diff/1/pkg/analyzer/lib/dart/element/type.dart File pkg/analyzer/lib/dart/element/type.dart (right): https://codereview.chromium.org/1758913002/diff/1/pkg/analyzer/lib/dart/element/type.dart#newcode247 pkg/analyzer/lib/dart/element/type.dart:247: * [argumentTypes] for this function's bound type parameters. ...
4 years, 9 months ago (2016-03-02 21:54:52 UTC) #5
Leaf
https://codereview.chromium.org/1758913002/diff/1/pkg/analyzer/lib/dart/element/type.dart File pkg/analyzer/lib/dart/element/type.dart (right): https://codereview.chromium.org/1758913002/diff/1/pkg/analyzer/lib/dart/element/type.dart#newcode247 pkg/analyzer/lib/dart/element/type.dart:247: * [argumentTypes] for this function's bound type parameters. On ...
4 years, 9 months ago (2016-03-02 23:06:02 UTC) #6
Leaf
4 years, 9 months ago (2016-03-02 23:06:44 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
7d2976c7d5829b55f3e29d14a5c5fff0584ee038 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698