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

Unified Diff: runtime/vm/parser.cc

Issue 11417051: Make List an abstract class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 8 years, 1 month 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
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.cc
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
index 88a82794784968c9777d755951e7b64179c6da75..327389133ef1b423f0f7f4d57ee01644968ad6b1 100644
--- a/runtime/vm/parser.cc
+++ b/runtime/vm/parser.cc
@@ -8778,9 +8778,7 @@ AstNode* Parser::ParseListLiteral(intptr_t type_pos,
return new LiteralNode(literal_pos, const_list);
} else {
// Factory call at runtime.
- // TODO(regis): Once _ListImpl is removed, use Symbols::List() instead of
- // Symbols::ListImplementation() on the following line.
- String& factory_class_name = String::Handle(Symbols::ListImplementation());
+ String& factory_class_name = String::Handle(Symbols::List());
const Class& factory_class =
Class::Handle(LookupCoreClass(factory_class_name));
ASSERT(!factory_class.IsNull());
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698