Index: lib/compiler/implementation/lib/core_patch.dart |
diff --git a/lib/compiler/implementation/lib/core_patch.dart b/lib/compiler/implementation/lib/core_patch.dart |
index 2101a9cfc533619d89886507eb0cf6af9a51d437..f75c3d7998b56307202d4083157c04b84a5ecb0f 100644 |
--- a/lib/compiler/implementation/lib/core_patch.dart |
+++ b/lib/compiler/implementation/lib/core_patch.dart |
@@ -19,8 +19,11 @@ patch class Object { |
patch String toString() => Primitives.objectToString(this); |
- patch Dynamic noSuchMethod(String name, List args) { |
- throw new NoSuchMethodError(this, name, args); |
+ patch dynamic noSuchMethod(InvocationMirror invocation) { |
+ throw new NoSuchMethodError(this, |
+ invocation.memberName, |
+ invocation.positionalArguments, |
+ invocation.namedArguments); |
} |
patch Type get runtimeType { |