Index: tests/compiler/dart2js_native/issue9182_test.dart |
diff --git a/tests/compiler/dart2js_native/issue9182_test.dart b/tests/compiler/dart2js_native/issue9182_test.dart |
index 8d2734b01821e7cef73bdf6a55c184a5718bf497..8bbee654c923a6b6630d1e6b895dc60af63586f8 100644 |
--- a/tests/compiler/dart2js_native/issue9182_test.dart |
+++ b/tests/compiler/dart2js_native/issue9182_test.dart |
@@ -5,9 +5,11 @@ |
// Regression test for Issue 9182. The generative constructor body function |
// should not have the interceptor calling convention. |
+import "dart:_js_helper"; |
import "package:expect/expect.dart"; |
-class Foo native "A" { |
+@Native("A") |
+class Foo { |
factory Foo() => makeA(); |
// Ensure the instance method 'Bar' uses interceptor convention. |
Bar() => 123; |