Index: tests/compiler/dart2js_native/native_no_such_method_exception4_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_no_such_method_exception4_frog_test.dart b/tests/compiler/dart2js_native/native_no_such_method_exception4_frog_test.dart |
index 3827cace440047f1521ad18b6ad03830c268ae39..afbdb913d9ae7172c0058c19e1aa856dcc94e255 100644 |
--- a/tests/compiler/dart2js_native/native_no_such_method_exception4_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_no_such_method_exception4_frog_test.dart |
@@ -2,9 +2,16 @@ |
// 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) => "foo"; |
+ baz(x, y, z) => "baz"; |
+} |
+ |
+static String getName(im) => im.invokeOn(new GetName()); |
+ |
class A native "*A" { |
bar() => 42; |
- noSuchMethod(x) => "native(${x.memberName}:${x.positionalArguments})"; |
+ noSuchMethod(x) => "native(${getName(x)}:${x.positionalArguments})"; |
} |
class B native "*B" { |