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

Unified Diff: tests/language/deferred_duplicate_prefix2_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_prefix2_negative_test.dart
diff --git a/tests/lib/mirrors/method_mirror_source_line_ending_lf.dart b/tests/language/deferred_duplicate_prefix2_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_prefix2_negative_test.dart
index 71a34c82d29a17993417f8641a1bc38e63e5f11f..1cb9dace70d72e9e967d66373ac58879f68fb5af
--- a/tests/lib/mirrors/method_mirror_source_line_ending_lf.dart
+++ b/tests/language/deferred_duplicate_prefix2_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;
+@lazy import "deferred_constraints_lib.dart" as lib;
+import "deferred_constraints_lib2.dart" as lib;
-oneLineLF(x) => x;
-multiLineLF(y) {
- return y + 1;
-}
-a
-(){
-}
+const lazy = const DeferredLibrary('lib');
+
+void main() {}

Powered by Google App Engine
This is Rietveld 408576698