| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import "dart:async"; | 5 import "dart:async"; |
| 6 | 6 |
| 7 @lazy import "deferred_prefix_constraints_lib.dart" as lib; | 7 @lazy import "deferred_constraints_lib.dart" as lib; |
| 8 @lazy2 import "deferred_prefix_constraints_lib2.dart" as lib; /// 01: compile-ti
me error | 8 @lazy2 import "deferred_constraints_lib2.dart" as lib; /// 01: compile-time erro
r |
| 9 | 9 |
| 10 const lazy = const DeferredLibrary('lib'); | 10 const lazy = const DeferredLibrary('lib'); |
| 11 const lazy2 = const DeferredLibrary('lib2'); | 11 const lazy2 = const DeferredLibrary('lib2'); |
| 12 | 12 |
| 13 void main() {} | 13 void main() {} |
| OLD | NEW |