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 d458e743d8f866a58c57cb43d4ffeef35782f96d..c9c39c152e085d7445f835ca7b953cff67cfc0c3 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 { |