Index: tests/language/local_function_test.dart |
diff --git a/tests/language/local_function_test.dart b/tests/language/local_function_test.dart |
index 82f5fc2fbc7c6f93605fb659018d1dcf9c4582a3..104319ff68bac760f6c2d6ea55562c35a816ed5a 100644 |
--- a/tests/language/local_function_test.dart |
+++ b/tests/language/local_function_test.dart |
@@ -16,8 +16,8 @@ class LocalFunctionTest { |
} |
static int h(int n) { |
k(int n) { |
- var a = new List.fixedLength(n); |
- var b = new List.fixedLength(n); |
+ var a = new List(n); |
+ var b = new List(n); |
int i; |
for (i = 0; i < n; i++) { |
var j = i; |
@@ -36,8 +36,8 @@ class LocalFunctionTest { |
} |
static int h2(int n) { |
k(int n) { |
- var a = new List.fixedLength(n); |
- var b = new List.fixedLength(n); |
+ var a = new List(n); |
+ var b = new List(n); |
for (int i = 0; i < n; i++) { |
var j = i; |
a[i] = () => i; // Captured i varies from 0 to n-1. |
@@ -94,7 +94,7 @@ class LocalFunctionTest { |
f(); |
} |
static testNesting(int n) { |
- var a = new List.fixedLength(n*n); |
+ var a = new List(n*n); |
f0() { |
for (int i = 0; i < n; i++) { |
int vi = i; |