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

Issue 1518473002: dart2js: Fix an issue with erroneous for-in. (Closed)

Created:
5 years ago by Kevin Millikin (Google)
Modified:
5 years ago
Reviewers:
asgerf, Johnni Winther
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js: Fix an issue with erroneous for-in. In the CPS backend, when a for-in loop has an erroneous variable (interpreted as an unresolved static setter), then we should call NoSuchMethod and not try to call the setter. This is what the SSA backend does. BUG= R=asgerf@google.com Committed: https://github.com/dart-lang/sdk/commit/42809b52b1e83dcf3ea4d205f6c413df5992c60d

Patch Set 1 #

Patch Set 2 : Fix a silly typo in the comment. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -47 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart View 1 2 chunks +25 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 23 chunks +23 lines, -39 lines 0 comments Download
M tests/co19/co19-dart2js.status View 2 chunks +0 lines, -2 lines 1 comment Download
M tests/language/language_dart2js.status View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 6 (2 generated)
Kevin Millikin (Google)
https://codereview.chromium.org/1518473002/diff/20001/tests/co19/co19-dart2js.status File tests/co19/co19-dart2js.status (left): https://codereview.chromium.org/1518473002/diff/20001/tests/co19/co19-dart2js.status#oldcode120 tests/co19/co19-dart2js.status:120: -Language/Metadata/compilation_t10: MissingCompileTimeError # Please triage this failure I don't ...
5 years ago (2015-12-09 17:26:18 UTC) #2
asgerf
lgtm
5 years ago (2015-12-09 17:31:43 UTC) #3
Kevin Millikin (Google)
On 2015/12/09 17:26:18, Kevin Millikin (Google) wrote: > https://codereview.chromium.org/1518473002/diff/20001/tests/co19/co19-dart2js.status > File tests/co19/co19-dart2js.status (left): > > ...
5 years ago (2015-12-09 17:32:48 UTC) #4
Kevin Millikin (Google)
5 years ago (2015-12-09 17:33:38 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
42809b52b1e83dcf3ea4d205f6c413df5992c60d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698