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

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

Issue 421483002: Remove old frog-style dummy bodies from dart2js native class tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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_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()');

Powered by Google App Engine
This is Rietveld 408576698