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

Unified Diff: tests/language/deferred_function_type_test.dart

Issue 1071133002: dart2js: create a 'types' table for each deferred unit. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased and updated comment. Created 5 years, 8 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/language/deferred_function_type_lib.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/deferred_function_type_test.dart
diff --git a/tests/compiler/dart2js/dart2js_batch2_run.dart b/tests/language/deferred_function_type_test.dart
similarity index 66%
copy from tests/compiler/dart2js/dart2js_batch2_run.dart
copy to tests/language/deferred_function_type_test.dart
index aee55ef18e5fa77c47bcbf53f5c16125299ed77a..59897c7745263888ec1987d81ed5721698219658 100644
--- a/tests/compiler/dart2js/dart2js_batch2_run.dart
+++ b/tests/language/deferred_function_type_test.dart
@@ -2,9 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-@notExisting
-var x;
+import 'deferred_function_type_lib.dart' deferred as lib;
main() {
- print(x);
-}
+ lib.loadLibrary().then((_) {
+ lib.runTest();
+ });
+}
« no previous file with comments | « tests/language/deferred_function_type_lib.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698