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

Issue 11027036: Better error message for const loop variables (Closed)

Created:
8 years, 2 months ago by hausner
Modified:
8 years, 2 months ago
Reviewers:
regis
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Better error message for const loop variables issue 5629 The new error message is: 'file:/n.dart': Error: line 4 pos 8: Loop variable cannot be 'const' for (const i in [1,2,3]) { ^ Committed: https://code.google.com/p/dart/source/detail?r=13255

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M runtime/vm/parser.cc View 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
hausner
8 years, 2 months ago (2012-10-04 18:29:31 UTC) #1
regis
LGTM It would be good to file a co19 issue for the failing test and ...
8 years, 2 months ago (2012-10-04 19:30:05 UTC) #2
hausner
8 years, 2 months ago (2012-10-04 19:43:56 UTC) #3
Done. Thanks for the review.

Powered by Google App Engine
This is Rietveld 408576698