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

Unified Diff: tests/compiler/dart2js_extra/deferred/deferred_constant5_test.dart

Issue 195983006: Constrain constant references from deferred libraries (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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_extra/deferred/deferred_constant5_test.dart
diff --git a/tests/compiler/dart2js_extra/deferred/deferred_constant5_test.dart b/tests/compiler/dart2js_extra/deferred/deferred_constant5_test.dart
deleted file mode 100644
index e0d241caad2544529bc7b80298d2eaab2a945f73..0000000000000000000000000000000000000000
--- a/tests/compiler/dart2js_extra/deferred/deferred_constant5_test.dart
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
-// 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.
-
-import 'package:async_helper/async_helper.dart';
-import 'package:expect/expect.dart';
-
-import 'dart:async';
-
-@lazy import 'deferred_class_library2.dart' as lib;
-
-const lazy = const DeferredLibrary('deferred_class_library2');
-
-main() {
- asyncStart();
- lazy.load().then((bool didLoad) {
- Expect.isTrue(didLoad);
- Expect.equals(321, const lib.Gee.n321().value);
- Expect.equals(246, const lib.Gee.n246().value);
- Expect.equals(888, const lib.Gee.n888().value);
- Expect.equals(321, const lib.Gee2.n321().value);
- Expect.equals(151, const lib.Gee2.n151().value);
- Expect.equals(888, const lib.Gee2.n888().value);
- asyncEnd();
- });
-}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/warnings.dart ('k') | tests/language/deferred_constraints_constants_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698