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

Unified Diff: tests/language/incr_op_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: tests/language/incr_op_test.dart
diff --git a/tests/language/incr_op_test.dart b/tests/language/incr_op_test.dart
index 32730bde3c8a8c51764439b143f4242bf3110ca7..be772e7829cd05a53d753303411ae38f254d85ea 100644
--- a/tests/language/incr_op_test.dart
+++ b/tests/language/incr_op_test.dart
@@ -60,7 +60,7 @@ class IncrOpTest {
Expect.equals(57, IncrOpTest.y);
Expect.equals(56, --IncrOpTest.y);
- var list = new List.fixedLength(4);
+ var list = new List(4);
for (int i = 0; i < list.length; i++) {
list[i] = i;
}

Powered by Google App Engine
This is Rietveld 408576698