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; |