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

Unified Diff: runtime/vm/class_finalizer_test.cc

Issue 8247014: Changes to handle unresolved qualified identifiers. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/class_finalizer_test.cc
===================================================================
--- runtime/vm/class_finalizer_test.cc (revision 409)
+++ runtime/vm/class_finalizer_test.cc (working copy)
@@ -72,9 +72,11 @@
lib.AddClass(rhb);
lib.AddClass(sbb);
const String& superclass_name = String::Handle(sbb.Name());
+ const UnresolvedClass& unresolved = UnresolvedClass::Handle(
+ UnresolvedClass::New(0, String::Handle(), superclass_name));
TypeArguments& type_arguments = TypeArguments::Handle();
rhb.set_super_type(Type::Handle(Type::NewParameterizedType(
- Object::Handle(superclass_name.raw()), type_arguments)));
+ Object::Handle(unresolved.raw()), type_arguments)));
ClassFinalizer::AddPendingClasses(classes);
EXPECT(ClassFinalizer::FinalizePendingClasses());
}
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698