Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: tests/compiler/dart2js_native/native_field_rename_1_frog_test.dart

Issue 11973006: Private libraries used. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update copy_dart.py to handle show in one line. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « tests/compiler/dart2js_native/foreign_test.dart ('k') | tests/compiler/dart2js_native/native_field_rename_2_frog_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698