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

Issue 9921030: Fix capturing of for-loop variables (Closed)

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

Description

Fix capturing of for-loop variables It was broken when there were captured variables in inner blocks. LocalFunctionTest had a test case that was expecting the wrong result. Add a few more test cases to For2Test.dart Fixes issue 2338 (http://code.google.com/p/dart/issues/detail?id=2338) Committed: https://code.google.com/p/dart/source/detail?r=6006

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -6 lines) Patch
M runtime/vm/parser.cc View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download
M tests/language/language.status View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M tests/language/src/For2Test.dart View 1 2 3 1 chunk +32 lines, -1 line 0 comments Download
M tests/language/src/FunctionTest.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
hausner
8 years, 8 months ago (2012-03-29 20:41:25 UTC) #1
siva
8 years, 8 months ago (2012-03-29 22:27:35 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698