Index: tests/compiler/dart2js_native/native_no_such_method_exception3_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_no_such_method_exception3_frog_test.dart b/tests/compiler/dart2js_native/native_no_such_method_exception3_frog_test.dart |
index 22f436940d6e20cd1c71b24e03cfc8b7ac87a252..c75f4d0a893be043b4bf8e675f0ef1b54ad689df 100644 |
--- a/tests/compiler/dart2js_native/native_no_such_method_exception3_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_no_such_method_exception3_frog_test.dart |
@@ -2,6 +2,12 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+class GetName { |
+ foo(x, y, [z]) => "foo"; |
+} |
+ |
+static String getName(im) => im.invokeOn(new GetName()); |
+ |
class A native "*A" { |
bar() => 42; |
} |
@@ -12,7 +18,7 @@ class B native "*B" { |
class C { |
static create() => new C(); |
- noSuchMethod(x) => "${x.memberName}:${x.positionalArguments}"; |
+ noSuchMethod(x) => "${getName(x)}:${x.positionalArguments}"; |
} |
makeA() native; |