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

Unified Diff: tests/compiler/dart2js_foreign/native_field_rename_1_test.dart

Issue 10993059: Stop using the Hashable interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Another space removed. Created 8 years, 3 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_foreign/native_field_rename_1_test.dart
diff --git a/tests/compiler/dart2js_foreign/native_field_rename_1_test.dart b/tests/compiler/dart2js_foreign/native_field_rename_1_test.dart
index c0bd97ccdf0331bf2b8fc7f5c7dbad727420df1f..a6766fa5f4bf5a05774c6d1f1af186c4e7d44e0f 100644
--- a/tests/compiler/dart2js_foreign/native_field_rename_1_test.dart
+++ b/tests/compiler/dart2js_foreign/native_field_rename_1_test.dart
@@ -7,7 +7,7 @@
// for the field must be based on the field's name, not the field's jsname.
@native("*A")
-class A {
+class A {
int key; // jsname is 'key'
int getKey() => key;
}
@@ -19,7 +19,7 @@ class B {
}
@native("*X")
-class X {
+class X {
@native('key') int native_key_method();
// This should cause B.key to be renamed, but not A.key.

Powered by Google App Engine
This is Rietveld 408576698