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

Unified Diff: tests/language/deferred_constraints_lib.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_constraints_lib.dart
diff --git a/tests/compiler/dart2js/path with spaces/library space/lib with spaces.dart b/tests/language/deferred_constraints_lib.dart
similarity index 72%
copy from tests/compiler/dart2js/path with spaces/library space/lib with spaces.dart
copy to tests/language/deferred_constraints_lib.dart
index 16da6e3295bca2daa89abcf7104d7a492f7cd846..cdc9d4d8fbddf56553e4e04f5d44eeac2534fa3a 100644
--- a/tests/compiler/dart2js/path with spaces/library space/lib with spaces.dart
+++ b/tests/language/deferred_constraints_lib.dart
@@ -2,8 +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.
-library spaces;
+class C {}
-part "part space/part space.dart";
+class Const {
+ const Const();
+}
-foo() => bar();
+const constantInstance = const Const();
« no previous file with comments | « tests/compiler/dart2js_extra/deferred/deferred_unused_classes_test.dart ('k') | tests/language/deferred_constraints_lib2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698