Chromium Code Reviews
DescriptionCapturing for loop variables correctly
Re-introduce a "fresh copy" of the for loop variable(s) in each iteration. Adding a minimal test to check that closures capture the value of the particular loop iteration.
Committed: https://code.google.com/p/dart/source/detail?r=1273
Patch Set 1 #
Total comments: 4
Patch Set 2 : '' #
Messages
Total messages: 3 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||