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

Unified Diff: tests/corelib/for_in_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/corelib/corelib.status ('k') | tests/corelib/future_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/for_in_test.dart
diff --git a/tests/corelib/for_in_test.dart b/tests/corelib/for_in_test.dart
index ea537273bc0bec5d191b98c1944d17e401595878..de51cc159baea2015ae30e786b8a7e18920add2e 100644
--- a/tests/corelib/for_in_test.dart
+++ b/tests/corelib/for_in_test.dart
@@ -79,7 +79,7 @@ class ForInTest {
static void testClosure() {
Set<int> set = getSmallSet();
- List<Function> closures = new List(set.length);
+ List<Function> closures = new List.fixedLength(set.length);
int index = 0;
for (var i in set) {
closures[index++] = () => i;
« no previous file with comments | « tests/corelib/corelib.status ('k') | tests/corelib/future_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698