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

Issue 1200823002: dart2cps: Fix bug in constructors. (Closed)

Created:
5 years, 6 months ago by asgerf
Modified:
5 years, 6 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2cps: Fix bug in constructors. When visiting another constructor, the visitor must use another tree elements mapping (and source file info). BUG= R=floitsch@google.com Committed: https://github.com/dart-lang/sdk/commit/4a1e6c7966272729d6350f9759f1645d4278983e Reverted: https://github.com/dart-lang/sdk/commit/382319fe701021ecfa1e9faa37ef3ac589876007 Committed: https://github.com/dart-lang/sdk/commit/56158b54a1032106728a6c872e4e4ee6877faa38

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move to evaluateConstructorFieldInitializers #

Patch Set 3 : Change elements mapping when visiting another constructor #

Patch Set 4 : Revert+Unrevert+Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -40 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 1 2 11 chunks +64 lines, -32 lines 0 comments Download
M pkg/pkg.status View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tests/language/language_dart2js.status View 1 2 3 3 chunks +0 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
asgerf
5 years, 6 months ago (2015-06-22 10:28:09 UTC) #2
floitsch
LGTM if you can move it to evaluateConstructorFieldInitializers. https://codereview.chromium.org/1200823002/diff/1/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart File pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart (right): https://codereview.chromium.org/1200823002/diff/1/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart#newcode2584 pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart:2584: constructor ...
5 years, 6 months ago (2015-06-22 11:46:53 UTC) #3
asgerf
PTAL. I went digging a bit and found more serious issues. I will update the ...
5 years, 6 months ago (2015-06-22 13:38:08 UTC) #4
floitsch
LGTM.
5 years, 6 months ago (2015-06-22 14:04:57 UTC) #5
asgerf
Committed patchset #3 (id:40001) manually as 4a1e6c7966272729d6350f9759f1645d4278983e (presubmit successful).
5 years, 6 months ago (2015-06-22 15:53:52 UTC) #6
asgerf
Committed patchset #4 (id:60001) manually as 56158b54a1032106728a6c872e4e4ee6877faa38 (presubmit successful).
5 years, 6 months ago (2015-06-23 08:55:07 UTC) #7
asgerf
5 years, 6 months ago (2015-06-23 08:56:05 UTC) #8
Message was sent while issue was closed.
On 2015/06/23 08:55:07, asgerf wrote:
> Committed patchset #4 (id:60001) manually as
> 56158b54a1032106728a6c872e4e4ee6877faa38 (presubmit successful).

It seems this commit was actually fine. It just ran together with a broken one
and I defensively reverted because I was leaving work.

Powered by Google App Engine
This is Rietveld 408576698