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

Issue 11066052: Disallow non-identifiers in for-in. (Closed)

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

Description

Disallow non-identifiers in for-in. The spec does not allow field references in for in: C c = new C(); for (c.i in new List(100)) {} should trigger a compile time error. BUG=http://dartbug.com/5015 Committed: https://code.google.com/p/dart/source/detail?r=13405

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M lib/compiler/implementation/resolver.dart View 1 chunk +2 lines, -1 line 0 comments Download
M tests/co19/co19-dart2js.status View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
karlklose
8 years, 2 months ago (2012-10-08 12:30:57 UTC) #1
Lasse Reichstein Nielsen
8 years, 2 months ago (2012-10-09 08:59:27 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698