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

Unified Diff: tests/compiler/dart2js_native/native_no_such_method_exception5_frog_test.dart

Issue 11231074: Change signature of noSuchMethod to take an InvocationMirror. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: One more test expectation 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: tests/compiler/dart2js_native/native_no_such_method_exception5_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_no_such_method_exception5_frog_test.dart b/tests/compiler/dart2js_native/native_no_such_method_exception5_frog_test.dart
index 58074dfdef9c282ce2f715d23f9b20fa48566737..c0f03ac85d18d32e1e2fe934fc4ae4a72dd30d2c 100644
--- a/tests/compiler/dart2js_native/native_no_such_method_exception5_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_no_such_method_exception5_frog_test.dart
@@ -4,7 +4,7 @@
class A native "*A" {
bar() => 42;
- noSuchMethod(x,y) => "native($x:$y)";
+ noSuchMethod(x) => "native(${x.memberName}:${x.positionalArguments})";
}
class B native "*B" {
@@ -13,7 +13,7 @@ class B native "*B" {
class C {
static create() => new C();
- noSuchMethod(x, y) => "$x:$y";
+ noSuchMethod(x) => "${x.memberName}:${x.positionalArguments}";
}
makeA() native;

Powered by Google App Engine
This is Rietveld 408576698