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

Unified Diff: pkg/fixnum/test/int_64_vm_test.dart

Issue 12328104: Change new List(n) to return fixed length list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head. Created 7 years, 10 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
Index: pkg/fixnum/test/int_64_vm_test.dart
diff --git a/pkg/fixnum/test/int_64_vm_test.dart b/pkg/fixnum/test/int_64_vm_test.dart
index 03ce1120a06314a4f32b8ba8c6eed7ee692f4618..ee1fd74299bc82b08b6a34754025ccb9fa93b7a2 100644
--- a/pkg/fixnum/test/int_64_vm_test.dart
+++ b/pkg/fixnum/test/int_64_vm_test.dart
@@ -174,7 +174,7 @@ class int64VMTest {
testSet.add(new int64.fromInt(pow));
}
- TEST_VALUES = new List<int64>.fixedLength(testSet.length);
+ TEST_VALUES = new List<int64>(testSet.length);
int index = 0;
for (int64 val in testSet) {
TEST_VALUES[index++] = val;

Powered by Google App Engine
This is Rietveld 408576698