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

Unified Diff: tests/language/many_calls_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/many_calls_test.dart
diff --git a/tests/language/many_calls_test.dart b/tests/language/many_calls_test.dart
index a8db476615567e37720861400ff20dad8802311d..c59b90ff54f712bd5967ea262437b85ba4c5d778 100644
--- a/tests/language/many_calls_test.dart
+++ b/tests/language/many_calls_test.dart
@@ -53,7 +53,7 @@ class B extends A {
class ManyCallsTest {
static testMain() {
- var list = new List.fixedLength(10);
+ var list = new List(10);
for (int i = 0; i < (list.length ~/ 2) ; i++) {
list[i] = new A();
}

Powered by Google App Engine
This is Rietveld 408576698