Index: compiler/lib/implementation/array.dart |
diff --git a/compiler/lib/implementation/array.dart b/compiler/lib/implementation/array.dart |
index 74f64e3d6784f7e0d1991061e8048f846106203e..1ce9166dc6028832d12079aa7a7ed866a506f049 100644 |
--- a/compiler/lib/implementation/array.dart |
+++ b/compiler/lib/implementation/array.dart |
@@ -2,8 +2,8 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-class ListFactory { |
- factory List<E>.from(Iterable<E> other) { |
+class ListFactory<E> { |
+ factory List.from(Iterable<E> other) { |
List<E> list = new List<E>(); |
for (final e in other) { |
list.add(e); |
@@ -11,7 +11,7 @@ class ListFactory { |
return list; |
} |
- factory List<E>([int length = null]) { |
+ factory List([int length = null]) { |
bool isFixed = true; |
if (length === null) { |
length = 0; |