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

Unified Diff: runtime/lib/object_patch.dart

Issue 12328019: - Improve the message for NoSuchMethodErrors that are (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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/lib/object.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/object_patch.dart
===================================================================
--- runtime/lib/object_patch.dart (revision 18846)
+++ runtime/lib/object_patch.dart (working copy)
@@ -28,6 +28,7 @@
_noSuchMethod(bool isMethod,
String memberName,
+ int type,
List arguments,
Map<String, dynamic> namedArguments)
native "Object_noSuchMethod";
@@ -35,6 +36,7 @@
/* patch */ noSuchMethod(InvocationMirror invocation) {
return _noSuchMethod(invocation.isMethod,
invocation.memberName,
+ invocation._type,
invocation.positionalArguments,
invocation.namedArguments);
}
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698