Index: tests/compiler/dart2js_native/mirror_intercepted_field_test.dart |
diff --git a/tests/compiler/dart2js_native/mirror_intercepted_field_test.dart b/tests/compiler/dart2js_native/mirror_intercepted_field_test.dart |
index a56cbb097eed18aa7a40552929950651431d28a0..a9cb2e09f5bca1783f988c52708750e537eb400d 100644 |
--- a/tests/compiler/dart2js_native/mirror_intercepted_field_test.dart |
+++ b/tests/compiler/dart2js_native/mirror_intercepted_field_test.dart |
@@ -3,9 +3,11 @@ |
// BSD-style license that can be found in the LICENSE file. |
import 'dart:mirrors'; |
+import "dart:_js_helper"; |
import "package:expect/expect.dart"; |
-class B native "B" { |
+@Native("B") |
+class B { |
// Having this field in a native class will generate accessors with |
// the interceptor calling convention. |
var f; |