Index: runtime/lib/literal_factory.dart |
diff --git a/runtime/lib/literal_factory.dart b/runtime/lib/literal_factory.dart |
index d7874331ad6936777c2185341bac5257559359ee..ba5d0a85f0e9c5ab992e9d5a4167524fb9718fb6 100644 |
--- a/runtime/lib/literal_factory.dart |
+++ b/runtime/lib/literal_factory.dart |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// 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. |
@@ -8,7 +8,7 @@ |
class _ListLiteralFactory<E> { |
// [elements] contains elements that are already type checked. |
factory List.fromLiteral(List elements) { |
- var list = new GrowableObjectArray<E>(); |
+ var list = new List<E>(); |
if (elements.length > 0) { |
list._setData(elements); |
list.length = elements.length; |