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

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

Issue 10823423: Change dart2js_foreign suite to use metadata. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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: dart/tests/compiler/dart2js_foreign/native_library_same_name_used_lib2.dart
diff --git a/dart/tests/compiler/dart2js_foreign/native_library_same_name_used_lib2.dart b/dart/tests/compiler/dart2js_foreign/native_library_same_name_used_lib2.dart
index cef03fb9c0453d131fec70ad20f83f92d34805fe..7eaf6aa92a369e10f74296a8917225aa7c77f83e 100644
--- a/dart/tests/compiler/dart2js_foreign/native_library_same_name_used_lib2.dart
+++ b/dart/tests/compiler/dart2js_foreign/native_library_same_name_used_lib2.dart
@@ -8,7 +8,8 @@
#import('native_library_same_name_used_lib1.dart'); // To get interface I.
// Native impl has same name as interface.
-class Impl implements I native "*I" {
- Impl read() native;
- write(Impl x) native;
+@native("*I")
+class Impl implements I {
+ @native Impl read();
+ @native write(Impl x);
}

Powered by Google App Engine
This is Rietveld 408576698