| Index: tests/language/deferred_no_prefix_test.dart
|
| diff --git a/tests/language/deferred_no_prefix_test.dart b/tests/language/deferred_no_prefix_test.dart
|
| index c1674ab312171111de9f698abf7a98af59732f86..c81b47c34c1f7eaa2781829acd80652176b326be 100644
|
| --- a/tests/language/deferred_no_prefix_test.dart
|
| +++ b/tests/language/deferred_no_prefix_test.dart
|
| @@ -2,16 +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.
|
|
|
| -import "dart:async";
|
| -
|
| // Loading a deferred library without prefix is not allowed.
|
| -@lazy import "deferred_constraints_lib2.dart"; /// 01: compile-time error
|
| -
|
| -const lazy = const DeferredLibrary('lib');
|
| +import "deferred_constraints_lib2.dart"
|
| + deferred /// 01: compile-time error
|
| +;
|
|
|
| void main() {
|
| - lazy.load().then((_) { /// 01: continued
|
| - C c = new C(); /// 01: continued
|
| - print(c); /// 01: continued
|
| - }); /// 01: continued
|
| }
|
|
|