Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(543)

Unified Diff: lib/compiler/implementation/lib/core_patch.dart

Issue 11264005: InvocationMirror implemented in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Check JSInvocationMirror.invokeOn instead of InvocationMirror.invokeOn. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..ee3f3fb97d3311a7c4284164d1c9ddff669ad7a0 100644
--- a/lib/compiler/implementation/lib/core_patch.dart
+++ b/lib/compiler/implementation/lib/core_patch.dart
@@ -19,8 +19,8 @@ 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 msg) {
+ throw new NoSuchMethodError(this, msg.memberName, msg.positionalArguments);
}
patch Type get runtimeType {

Powered by Google App Engine
This is Rietveld 408576698