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

Unified Diff: runtime/vm/code_generator_test.cc

Issue 19662003: Refactor resolution code in the vm to properly handle ambiguity errors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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/vm/code_generator_test.cc
===================================================================
--- runtime/vm/code_generator_test.cc (revision 25291)
+++ runtime/vm/code_generator_test.cc (working copy)
@@ -272,7 +272,7 @@
static RawClass* LookupClass(const Library& lib, const char* name) {
const String& cls_name = String::ZoneHandle(Symbols::New(name));
- return lib.LookupClass(cls_name);
+ return lib.LookupClass(cls_name, NULL);
}
siva 2013/07/22 22:21:46 Ditto case here in the places where LookupClass is
regis 2013/07/22 23:51:27 Done.
@@ -552,7 +552,7 @@
app_lib ^= libs.At(num_libs - 1);
ASSERT(!app_lib.IsNull());
const Class& cls = Class::Handle(
- app_lib.LookupClass(String::Handle(Symbols::New("A"))));
+ app_lib.LookupClass(String::Handle(Symbols::New("A")), NULL));
EXPECT_EQ(cls.raw(), result.clazz());
}

Powered by Google App Engine
This is Rietveld 408576698