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

Issue 88153003: Add synthetic type variables to unnamed mixin applications. (Closed)

Created:
7 years ago by Johnni Winther
Modified:
7 years ago
Reviewers:
ahe, karlklose
CC:
reviews_dartlang.org, zarah
Visibility:
Public.

Description

Add synthetic type variables to unnamed mixin applications. BUG= R=karlklose@google.com Committed: https://code.google.com/p/dart/source/detail?r=30892

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Remove unneeded handling of unnamed mixin applications. #

Total comments: 8

Patch Set 4 : Rebased #

Patch Set 5 : Updated cf. comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -15 lines) Patch
M sdk/lib/_internal/compiler/implementation/elements/modelx.dart View 1 2 3 4 4 chunks +15 lines, -5 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_emitter/type_test_emitter.dart View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 2 3 4 3 chunks +34 lines, -5 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/resolution.dart View 1 chunk +1 line, -0 lines 0 comments Download
A tests/compiler/dart2js/mixin_typevariable_test.dart View 1 2 3 4 1 chunk +158 lines, -0 lines 2 comments Download
M tests/compiler/dart2js/type_test_helper.dart View 1 2 3 4 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Johnni Winther
7 years ago (2013-11-26 13:02:22 UTC) #1
karlklose
LGTM, but do we have tests for the substitution, i.e., where we fix type arguments? ...
7 years ago (2013-11-28 15:04:15 UTC) #2
ahe
DBC https://codereview.chromium.org/88153003/diff/40001/sdk/lib/_internal/compiler/implementation/elements/modelx.dart File sdk/lib/_internal/compiler/implementation/elements/modelx.dart (right): https://codereview.chromium.org/88153003/diff/40001/sdk/lib/_internal/compiler/implementation/elements/modelx.dart#newcode2265 sdk/lib/_internal/compiler/implementation/elements/modelx.dart:2265: assert(invariant(this, named != null, I'd really prefer if ...
7 years ago (2013-11-28 15:28:25 UTC) #3
Johnni Winther
@karlklose: PTAL at the test. https://codereview.chromium.org/88153003/diff/40001/sdk/lib/_internal/compiler/implementation/elements/modelx.dart File sdk/lib/_internal/compiler/implementation/elements/modelx.dart (right): https://codereview.chromium.org/88153003/diff/40001/sdk/lib/_internal/compiler/implementation/elements/modelx.dart#newcode2265 sdk/lib/_internal/compiler/implementation/elements/modelx.dart:2265: assert(invariant(this, named != null, ...
7 years ago (2013-12-03 15:57:37 UTC) #4
karlklose
SLGTM. https://codereview.chromium.org/88153003/diff/80001/tests/compiler/dart2js/mixin_typevariable_test.dart File tests/compiler/dart2js/mixin_typevariable_test.dart (right): https://codereview.chromium.org/88153003/diff/80001/tests/compiler/dart2js/mixin_typevariable_test.dart#newcode77 tests/compiler/dart2js/mixin_typevariable_test.dart:77: class _ {} Why not just call it ...
7 years ago (2013-12-05 11:54:16 UTC) #5
Johnni Winther
7 years ago (2013-12-05 13:02:24 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r30892 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698