| Index: runtime/lib/object_patch.dart
|
| diff --git a/runtime/lib/object_patch.dart b/runtime/lib/object_patch.dart
|
| index 603e14e26c0213877cf1c1b3da3d47a7cd907f52..401d94fe9dcfde99e7a57918e09a76723c51b1e2 100644
|
| --- a/runtime/lib/object_patch.dart
|
| +++ b/runtime/lib/object_patch.dart
|
| @@ -23,8 +23,14 @@ patch class Object {
|
| // A statically dispatched version of Object.toString.
|
| static String _toString(obj) native "Object_toString";
|
|
|
| - /* patch */ Dynamic noSuchMethod(String functionName, List args)
|
| + dynamic _noSuchMethod(String functionName, List args)
|
| native "Object_noSuchMethod";
|
|
|
| + /* patch */ dynamic noSuchMethod(InvocationMirror invocation) {
|
| + var methodName = invocation.memberName;
|
| + var args = invocation.positionalArguments;
|
| + return _noSuchMethod(methodName, args);
|
| + }
|
| +
|
| /* patch */ Type get runtimeType native "Object_runtimeType";
|
| }
|
|
|