Index: tests/compiler/dart2js_native/native_field_rename_1_frog_test.dart |
diff --git a/tests/compiler/dart2js_native/native_field_rename_1_frog_test.dart b/tests/compiler/dart2js_native/native_field_rename_1_frog_test.dart |
index 317ce350abc6fc479bb2cae4b07ce282e7dcbd62..4d70d5088bcc2381be9e4b876a1d72f319aaa9c7 100644 |
--- a/tests/compiler/dart2js_native/native_field_rename_1_frog_test.dart |
+++ b/tests/compiler/dart2js_native/native_field_rename_1_frog_test.dart |
@@ -6,6 +6,8 @@ |
// fields. However, native fields keep their name. The implication: a getter |
// for the field must be based on the field's name, not the field's jsname. |
+import 'dart:_js_helper' show JSName; |
+ |
class A native "*A" { |
int key; // jsname is 'key' |
int getKey() => key; |