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

Issue 11418113: Substitution added to DartType (Closed)

Created:
8 years, 1 month ago by Johnni Winther
Modified:
8 years ago
Reviewers:
karlklose, ahe
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Substitution added to DartType Committed: https://code.google.com/p/dart/source/detail?r=15290

Patch Set 1 #

Patch Set 2 : Unalias test added #

Patch Set 3 : Long lines #

Total comments: 32

Patch Set 4 : Updated cf. comments. #

Total comments: 6

Patch Set 5 : Updated cf. comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+382 lines, -33 lines) Patch
M sdk/lib/_internal/compiler/implementation/closure.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/elements/elements.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 3 4 4 chunks +6 lines, -6 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/codegen.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/typechecker.dart View 1 2 3 4 12 chunks +176 lines, -11 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/world.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/resolver_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
A tests/compiler/dart2js/type_substitution_test.dart View 1 2 3 4 1 chunk +183 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Johnni Winther
8 years, 1 month ago (2012-11-21 12:34:45 UTC) #1
ahe
LGTM! I'd like to be understand the invariants you have in mind for substitutions. Basically, ...
8 years, 1 month ago (2012-11-22 15:43:36 UTC) #2
Johnni Winther
PTAL https://chromiumcodereview.appspot.com/11418113/diff/4001/sdk/lib/_internal/compiler/implementation/typechecker.dart File sdk/lib/_internal/compiler/implementation/typechecker.dart (right): https://chromiumcodereview.appspot.com/11418113/diff/4001/sdk/lib/_internal/compiler/implementation/typechecker.dart#newcode93 sdk/lib/_internal/compiler/implementation/typechecker.dart:93: * or interface type. For example, in class ...
8 years, 1 month ago (2012-11-23 13:06:16 UTC) #3
ahe
https://chromiumcodereview.appspot.com/11418113/diff/5014/sdk/lib/_internal/compiler/implementation/typechecker.dart File sdk/lib/_internal/compiler/implementation/typechecker.dart (right): https://chromiumcodereview.appspot.com/11418113/diff/5014/sdk/lib/_internal/compiler/implementation/typechecker.dart#newcode134 sdk/lib/_internal/compiler/implementation/typechecker.dart:134: if (parameter == this) { assert(argumentLink.tail.isEmpty == parameterLink.tail.isEmpty); https://chromiumcodereview.appspot.com/11418113/diff/5014/sdk/lib/_internal/compiler/implementation/typechecker.dart#newcode452 ...
8 years, 1 month ago (2012-11-23 15:06:54 UTC) #4
Johnni Winther
8 years ago (2012-11-26 07:38:48 UTC) #5
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/11418113/diff/5014/sdk/lib/_internal/c...
File sdk/lib/_internal/compiler/implementation/typechecker.dart (right):

https://chromiumcodereview.appspot.com/11418113/diff/5014/sdk/lib/_internal/c...
sdk/lib/_internal/compiler/implementation/typechecker.dart:134: if (parameter ==
this) {
On 2012/11/23 15:06:54, ahe wrote:
> assert(argumentLink.tail.isEmpty == parameterLink.tail.isEmpty);

Done.

https://chromiumcodereview.appspot.com/11418113/diff/5014/sdk/lib/_internal/c...
sdk/lib/_internal/compiler/implementation/typechecker.dart:452:
DynamicType(Element element) : super(element);
On 2012/11/23 15:06:54, ahe wrote:
> ClassElement?

Done.

Powered by Google App Engine
This is Rietveld 408576698