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

Unified Diff: runtime/vm/cha_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/cha_test.cc
===================================================================
--- runtime/vm/cha_test.cc (revision 25291)
+++ runtime/vm/cha_test.cc (working copy)
@@ -34,22 +34,22 @@
EXPECT(!lib.IsNull());
const Class& class_a = Class::Handle(
- lib.LookupClass(String::Handle(Symbols::New("A"))));
+ lib.LookupClass(String::Handle(Symbols::New("A")), NULL));
EXPECT(!class_a.IsNull());
siva 2013/07/22 22:21:46 This is a case where if we have some bugs the test
regis 2013/07/22 23:51:27 Done.
const intptr_t class_a_id = class_a.id();
const Class& class_b = Class::Handle(
- lib.LookupClass(String::Handle(Symbols::New("B"))));
+ lib.LookupClass(String::Handle(Symbols::New("B")), NULL));
EXPECT(!class_b.IsNull());
const intptr_t class_b_id = class_b.id();
const Class& class_c = Class::Handle(
- lib.LookupClass(String::Handle(Symbols::New("C"))));
+ lib.LookupClass(String::Handle(Symbols::New("C")), NULL));
EXPECT(!class_c.IsNull());
const intptr_t class_c_id = class_c.id();
const Class& class_d = Class::Handle(
- lib.LookupClass(String::Handle(Symbols::New("D"))));
+ lib.LookupClass(String::Handle(Symbols::New("D")), NULL));
EXPECT(!class_d.IsNull());
const intptr_t class_d_id = class_d.id();

Powered by Google App Engine
This is Rietveld 408576698