OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 // Tests that exports are handled for libraries loaded prior to the entry point |
| 6 // library. |
| 7 // |
| 8 // This test uses the fact that dart2js loads dart:core before the |
| 9 // reexport_core_helper and reexport_core_test libraries and the exports of |
| 10 // dart:core is therefore computed before the exports of reexport_core_helper. |
| 11 |
| 12 library reexport_core_test; |
| 13 |
| 14 import 'reexport_core_helper.dart' as core; |
| 15 |
| 16 void main() { |
| 17 var o = new Object(); |
| 18 Expect.isTrue(o is core.Object); |
| 19 } |
| 20 |
OLD | NEW |