Index: tests/compiler/dart2js_native/native_library_same_name_used_lib2.dart |
diff --git a/tests/compiler/dart2js_native/native_library_same_name_used_lib2.dart b/tests/compiler/dart2js_native/native_library_same_name_used_lib2.dart |
index 558e61974ba5d2bfecc436f99a47d3697f9b0015..9ea0f421fe1a2c6ab6c1a062e3bf9758ff0f6a1a 100644 |
--- a/tests/compiler/dart2js_native/native_library_same_name_used_lib2.dart |
+++ b/tests/compiler/dart2js_native/native_library_same_name_used_lib2.dart |
@@ -6,9 +6,11 @@ |
library lib2; |
import 'native_library_same_name_used_lib1.dart'; // To get abstract class I. |
+import 'dart:_js_helper'; |
// Native impl has same name as abstract class. |
-class Impl implements I native "I" { |
+@Native("I") |
+class Impl implements I { |
Impl read() native; |
write(Impl x) native; |
} |