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 d319a0784d4b1d64fd8bbc5c55c84198d130fbb9..2d027c42797efe661ec4a2d8bad1accc18236417 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) { |
Ivan Posva
2012/10/26 02:34:26
dynamic
|
+ throw new NoSuchMethodError(this, |
+ invocation.methodName, |
+ invocation.positionalArguments, |
+ invocation.namedArguments); |
} |
patch Type get runtimeType { |