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

Unified Diff: tests/language/deferred_duplicate_prefix1_negative_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/language/deferred_duplicate_prefix1_negative_test.dart
diff --git a/tests/lib/mirrors/method_mirror_source_line_ending_lf.dart b/tests/language/deferred_duplicate_prefix1_negative_test.dart
old mode 100755
new mode 100644
similarity index 54%
copy from tests/lib/mirrors/method_mirror_source_line_ending_lf.dart
copy to tests/language/deferred_duplicate_prefix1_negative_test.dart
index 71a34c82d29a17993417f8641a1bc38e63e5f11f..a8c6aee109a65830dcaa2bead8ff0092cbb46179
--- a/tests/lib/mirrors/method_mirror_source_line_ending_lf.dart
+++ b/tests/language/deferred_duplicate_prefix1_negative_test.dart
@@ -2,15 +2,11 @@
// 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.
-// This file is marked executable so source control will preserve the type of
-// line ending.
+import "dart:async";
-library line_endings.lf;
+import "deferred_constraints_lib2.dart" as lib;
+@lazy import "deferred_constraints_lib.dart" as lib;
-oneLineLF(x) => x;
-multiLineLF(y) {
- return y + 1;
-}
-a
-(){
-}
+const lazy = const DeferredLibrary('lib');
+
+void main() {}
« no previous file with comments | « tests/language/deferred_constraints_lib2.dart ('k') | tests/language/deferred_duplicate_prefix2_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698