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

Issue 10826055: Issue 4090. For-in loop variable should not be visible in iterable expression. (Closed)

Created:
8 years, 4 months ago by scheglov
Modified:
8 years, 4 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Issue 4090. For-in loop variable should not be visible in iterable expression. R=brianwilkerson@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=10002

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M compiler/java/com/google/dart/compiler/resolver/Resolver.java View 1 chunk +1 line, -1 line 0 comments Download
M compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java View 1 chunk +16 lines, -0 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
scheglov
8 years, 4 months ago (2012-07-28 00:49:49 UTC) #1
Brian Wilkerson
8 years, 4 months ago (2012-07-28 14:48:47 UTC) #2
LGTM

https://chromiumcodereview.appspot.com/10826055/diff/1/compiler/javatests/com...
File
compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
(right):

https://chromiumcodereview.appspot.com/10826055/diff/1/compiler/javatests/com...
compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java:1350:
public void test_forEachVaraibleIsNotVisibleInIterableExpression() throws
Exception {
minor typo: "Varaible" --> "Variable"

Powered by Google App Engine
This is Rietveld 408576698