Index: tests/compiler/dart2js_native/native_library_same_name_used_lib1.dart |
diff --git a/tests/compiler/dart2js_native/native_library_same_name_used_lib1.dart b/tests/compiler/dart2js_native/native_library_same_name_used_lib1.dart |
index d74671cf221e3b00c413d675349f48ff9dd6e0d6..5046ff7933015ece5532a32c55d03414f3a6ea09 100644 |
--- a/tests/compiler/dart2js_native/native_library_same_name_used_lib1.dart |
+++ b/tests/compiler/dart2js_native/native_library_same_name_used_lib1.dart |
@@ -7,10 +7,11 @@ |
library native_library_same_name_used_lib1; |
import 'native_library_same_name_used_lib2.dart'; |
+import 'dart:_foreign_helper' show JS; |
abstract class I { |
I read(); |
write(I x); |
} |
-makeI() native { new Impl(); } // Hint Impl is created by makeI. |
+makeI() => JS('creates:Impl; returns:I;', 'makeI()'); |