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

Unified Diff: tests/language/duplicate_import_prefix_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
« no previous file with comments | « tests/language/deferred_no_prefix_negative_test.dart ('k') | tests/language/language.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/duplicate_import_prefix_test.dart
diff --git a/tests/compiler/dart2js/path with spaces/library space/lib with spaces.dart b/tests/language/duplicate_import_prefix_test.dart
similarity index 59%
copy from tests/compiler/dart2js/path with spaces/library space/lib with spaces.dart
copy to tests/language/duplicate_import_prefix_test.dart
index 16da6e3295bca2daa89abcf7104d7a492f7cd846..9c288029ab40a7aee66ffeb1f67467e34bdc80fc 100644
--- a/tests/compiler/dart2js/path with spaces/library space/lib with spaces.dart
+++ b/tests/language/duplicate_import_prefix_test.dart
@@ -2,8 +2,9 @@
// 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.
-library spaces;
+// Importing with a duplicate prefix is allowed.
-part "part space/part space.dart";
+import "duplicate_import_liba.dart" as a;
+import "duplicate_import_libb.dart" as a;
-foo() => bar();
+void main() {}
« no previous file with comments | « tests/language/deferred_no_prefix_negative_test.dart ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698