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

Unified Diff: tests/corelib/for_in_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/corelib/for_in_test.dart
diff --git a/tests/corelib/for_in_test.dart b/tests/corelib/for_in_test.dart
index de51cc159baea2015ae30e786b8a7e18920add2e..ea537273bc0bec5d191b98c1944d17e401595878 100644
--- a/tests/corelib/for_in_test.dart
+++ b/tests/corelib/for_in_test.dart
@@ -79,7 +79,7 @@ class ForInTest {
static void testClosure() {
Set<int> set = getSmallSet();
- List<Function> closures = new List.fixedLength(set.length);
+ List<Function> closures = new List(set.length);
int index = 0;
for (var i in set) {
closures[index++] = () => i;

Powered by Google App Engine
This is Rietveld 408576698