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 fed9ce8e943d41c4c54329faff432c82edbd6170..ee0af943d5dc7148c5e9a0dce6bab95add0e981a 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 |
@@ -3,6 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
import "dart:mirrors" show reflect; |
+import "dart:_js_helper"; |
import "package:expect/expect.dart"; |
class GetName { |
@@ -12,12 +13,14 @@ class GetName { |
String getName(im) => reflect(new GetName()).delegate(im);; |
-class A native "A" { |
+@Native("A") |
+class A { |
bar() => 42; |
noSuchMethod(x) => "native(${getName(x)}:${x.positionalArguments})"; |
} |
-class B native "B" { |
+@Native("B") |
+class B { |
baz() => 42; |
} |