Index: tests/language/type_cast_vm_test.dart |
diff --git a/tests/language/type_cast_vm_test.dart b/tests/language/type_cast_vm_test.dart |
index 22e34375cfd3bf9e1ca8bb64c71fa550b75d5274..fdf4cc9e7effae80479bbc97b75b93d38cb5ed60 100644 |
--- a/tests/language/type_cast_vm_test.dart |
+++ b/tests/language/type_cast_vm_test.dart |
@@ -38,7 +38,7 @@ class TypeTest { |
return 0; |
} |
try { |
- var a = new List<int>(1) as List<int>; |
+ var a = new List<int>.fixedLength(1) as List<int>; |
a[0] = 0; |
a[index()]++; // Type check succeeds, but does not create side effects. |
Expect.equals(1, a[0]); |