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

Side by Side Diff: frog/tests/leg_only/closure_capture4_test.dart

Issue 10250002: test rename overhaul: step 5 - frog and leg tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 closure0() { 5 closure0() {
6 var input = [1, 2, 3]; 6 var input = [1, 2, 3];
7 var fs = []; 7 var fs = [];
8 for (var x in input) { 8 for (var x in input) {
9 fs.add(fun() { return x; }); 9 fs.add(fun() { return x; });
10 } 10 }
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 } 84 }
85 85
86 main() { 86 main() {
87 closure0(); 87 closure0();
88 closure1(); 88 closure1();
89 closure2(); 89 closure2();
90 closure3(); 90 closure3();
91 closure4(); 91 closure4();
92 closure5(); 92 closure5();
93 } 93 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698