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 87b3a37796c05c150a5428785124db01ea5be8f3..98041ecc3601a5316230b60a1775d9c340fbf82c 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 |
@@ -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; |
} |