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

Issue 12389046: Re-apply: Inside a generative constructor, "this" is created at the very end. So we have to use the… (Closed)

Created:
7 years, 9 months ago by ngeoffray
Modified:
7 years, 9 months ago
Reviewers:
karlklose, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Re-apply: Inside a generative constructor, "this" is created at the very end. So we have to use the type variables provided in the parameters. Committed: https://code.google.com/p/dart/source/detail?r=19309

Patch Set 1 : #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -59 lines) Patch
M sdk/lib/_internal/compiler/implementation/closure.dart View 1 1 chunk +3 lines, -4 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 10 chunks +86 lines, -53 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/world.dart View 1 2 chunks +6 lines, -1 line 0 comments Download
M tests/language/language_dart2js.status View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
ngeoffray
Patch set 1 contains the original CL. Patch set 2 contains the fix.
7 years, 9 months ago (2013-03-01 12:00:11 UTC) #1
kasperl
LGTM. https://codereview.chromium.org/12389046/diff/6001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/12389046/diff/6001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode1169 sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1169: // If [superclass] needs rti, we have to ...
7 years, 9 months ago (2013-03-01 12:05:34 UTC) #2
ngeoffray
Thanks Kasper. https://codereview.chromium.org/12389046/diff/6001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/12389046/diff/6001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode1169 sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1169: // If [superclass] needs rti, we have ...
7 years, 9 months ago (2013-03-01 12:14:07 UTC) #3
karlklose
https://codereview.chromium.org/12389046/diff/6001/sdk/lib/_internal/compiler/implementation/world.dart File sdk/lib/_internal/compiler/implementation/world.dart (right): https://codereview.chromium.org/12389046/diff/6001/sdk/lib/_internal/compiler/implementation/world.dart#newcode58 sdk/lib/_internal/compiler/implementation/world.dart:58: compiler.enqueuer.resolution.seenClasses.forEach(addSubtypes); Could we create constraints to track this dependency ...
7 years, 9 months ago (2013-03-01 12:15:22 UTC) #4
ngeoffray
https://codereview.chromium.org/12389046/diff/6001/sdk/lib/_internal/compiler/implementation/world.dart File sdk/lib/_internal/compiler/implementation/world.dart (right): https://codereview.chromium.org/12389046/diff/6001/sdk/lib/_internal/compiler/implementation/world.dart#newcode58 sdk/lib/_internal/compiler/implementation/world.dart:58: compiler.enqueuer.resolution.seenClasses.forEach(addSubtypes); On 2013/03/01 12:15:22, karlklose wrote: > Could we ...
7 years, 9 months ago (2013-03-01 12:39:27 UTC) #5
ngeoffray
Committed patchset #3 manually as r19309 (presubmit successful).
7 years, 9 months ago (2013-03-01 13:18:16 UTC) #6
karlklose
7 years, 9 months ago (2013-03-01 13:23:39 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/12389046/diff/6001/sdk/lib/_internal/compiler...
File sdk/lib/_internal/compiler/implementation/world.dart (right):

https://codereview.chromium.org/12389046/diff/6001/sdk/lib/_internal/compiler...
sdk/lib/_internal/compiler/implementation/world.dart:58:
compiler.enqueuer.resolution.seenClasses.forEach(addSubtypes);
No, I don't have a case in mind.

Powered by Google App Engine
This is Rietveld 408576698