Chromium Code Reviews| Index: runtime/lib/object_patch.dart |
| =================================================================== |
| --- runtime/lib/object_patch.dart (revision 15932) |
| +++ runtime/lib/object_patch.dart (working copy) |
| @@ -23,13 +23,17 @@ |
| // A statically dispatched version of Object.toString. |
| static String _toString(obj) native "Object_toString"; |
| - dynamic _noSuchMethod(String functionName, List args) |
| + dynamic _noSuchMethod(bool isMethod, |
| + String memberName, |
| + List arguments, |
| + Map<String,dynamic> namedArguments) |
| native "Object_noSuchMethod"; |
|
srdjan
2012/12/10 23:55:39
remove 'dynamic' as result type. Add space after c
regis
2012/12/11 00:11:04
Done.
|
| /* patch */ dynamic noSuchMethod(InvocationMirror invocation) { |
| - var methodName = invocation.memberName; |
| - var args = invocation.positionalArguments; |
| - return _noSuchMethod(methodName, args); |
| + return _noSuchMethod(invocation.isMethod, |
| + invocation.memberName, |
| + invocation.positionalArguments, |
| + invocation.namedArguments); |
| } |
| /* patch */ Type get runtimeType native "Object_runtimeType"; |