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

Unified Diff: runtime/vm/resolver_test.cc

Issue 50523018: Cleanup StaticResolveType, it does not seem to be used anywhere. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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/resolver.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/resolver_test.cc
===================================================================
--- runtime/vm/resolver_test.cc (revision 29568)
+++ runtime/vm/resolver_test.cc (working copy)
@@ -79,7 +79,6 @@
const char* test_class_name = "A";
const char* test_static_function_name = "static_foo";
const int kTestValue = 42;
- const Resolver::StaticResolveType kResolveType = Resolver::kIsQualified;
// Setup a static function which can be invoked.
SetupStaticFunction(test_library_name,
@@ -101,8 +100,7 @@
class_name,
static_function_name,
kNumArguments,
- Object::empty_array(),
- kResolveType));
+ Object::empty_array()));
EXPECT(!function.IsNull()); // No ambiguity error expected.
const Array& args = Array::Handle(Array::New(kNumArguments));
const String& arg0 = String::Handle(String::New("junk"));
@@ -122,8 +120,7 @@
class_name,
static_function_name,
kNumArguments,
- Object::empty_array(),
- kResolveType));
+ Object::empty_array()));
EXPECT(bad_function.IsNull()); // No ambiguity error expected.
}
@@ -138,8 +135,7 @@
super_class_name,
super_static_function_name,
kNumArguments,
- Object::empty_array(),
- kResolveType));
+ Object::empty_array()));
EXPECT(!super_function.IsNull()); // No ambiguity error expected.
}
}
« no previous file with comments | « runtime/vm/resolver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698