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

Unified Diff: tests/compiler/dart2js/deferred_emit_type_checks_test.dart

Issue 429883002: Remove support for the DeferredLibrary annotation and remove tests of it (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Deprecated until sdk 1.8 remove cruft from unused DeferredLibrary Created 6 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
« no previous file with comments | « tests/co19/co19-dart2js.status ('k') | tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/deferred_emit_type_checks_test.dart
diff --git a/tests/compiler/dart2js/deferred_emit_type_checks_test.dart b/tests/compiler/dart2js/deferred_emit_type_checks_test.dart
index 68a5d9b8e4805d1bc362cfcf2f1d88f2493dd4fb..bb9449a346b4f1e6d994b25cb6929bd8ad056793 100644
--- a/tests/compiler/dart2js/deferred_emit_type_checks_test.dart
+++ b/tests/compiler/dart2js/deferred_emit_type_checks_test.dart
@@ -63,14 +63,10 @@ void main() {
// it with a type argument, and testing for the type. The extra support should
// go to the deferred hunk.
const Map MEMORY_SOURCE_FILES = const {"main.dart": """
-import "dart:async";
-
-@def import 'lib.dart' as lib show f, A, instance;
-
-const def = const DeferredLibrary("deferred");
+import 'lib.dart' deferred as lib show f, A, instance;
void main() {
- def.load().then((_) {
+ lib.loadLibrary().then((_) {
print(lib.f(lib.instance));
});
}
« no previous file with comments | « tests/co19/co19-dart2js.status ('k') | tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698