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

Unified Diff: runtime/lib/literal_factory.dart

Issue 10990055: Hide VM-only coreimpl List implementation types. These should not be (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: x64 as well, sigh. Created 8 years, 3 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: 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;

Powered by Google App Engine
This is Rietveld 408576698