| /* |
| * Copyright (c) 2011, 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. |
| */ |
| /** |
| * @assertion If a name N is referenced by a library L and N would be |
| * introduced into the exported namespace of L by an export from a library |
| * whose URI begins with dart: and an export from a library whose URI does |
| * not begin with dart: |
| * The export from dart: is implicitly extended by a hide N clause. |
| * A static warning is issued. |
| * @description Checks that if N is referenced by L and N would be introduced |
| * into exported namespace of L by an export from 'dart:core' and library |
| * whose URI does not begin with 'dart:', then N from the later library is |
| * exported. Also checks that static warning is issued. |
| * @static-warning |
| * @author ilya |
| */ |
| import "../../Utils/expect.dart"; |
| import '2_Exports_A08_t01_lib1.dart'; |
| |
| main() { |
| Expect.equals('MYLIST', List.typename); |
| Expect.equals('MYLIST2', List2.typename); |
| } |
| |