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

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

Issue 169703003: Add prefix constraints for deferred imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/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 890397ab8f23d29c823ea561c3953c11b0e47143..45955b56767061621a70b35e7058b70fb5c7f092 100644
--- a/tests/compiler/dart2js/deferred_emit_type_checks_test.dart
+++ b/tests/compiler/dart2js/deferred_emit_type_checks_test.dart
@@ -65,13 +65,13 @@ void main() {
const Map MEMORY_SOURCE_FILES = const {"main.dart": """
import "dart:async";
-@def import 'lib.dart' show f, A;
+@def import 'lib.dart' as lib show f, A;
const def = const DeferredLibrary("deferred");
void main() {
def.load().then((_) {
- print(f(new A<A>()));
+ print(lib.f(new lib.A<lib.A>()));
});
}
""", "lib.dart": """

Powered by Google App Engine
This is Rietveld 408576698