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

Unified Diff: tests/compiler/dart2js/mock_compiler.dart

Issue 14049010: Take noSuchMethod into account when computing the potential targets of a call. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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: tests/compiler/dart2js/mock_compiler.dart
===================================================================
--- tests/compiler/dart2js/mock_compiler.dart (revision 21439)
+++ tests/compiler/dart2js/mock_compiler.dart (working copy)
@@ -62,6 +62,7 @@
unwrapException(e) {}
assertHelper(a){}
createRuntimeType(a) {}
+ createInvocationMirror(a0, a1, a2, a3, a4, a5) {}
throwNoSuchMethod(obj, name, arguments, expectedArgumentNames) {}
throwAbstractClassInstantiationError(className) {}''';
@@ -140,6 +141,7 @@
class Object {
operator ==(other) {}
String toString() { return null; }
+ noSuchMethod(im) { throw im; }
}
class Type {}
class Function {}

Powered by Google App Engine
This is Rietveld 408576698