| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 // Test cyclic export and re-export. | 5 // Test cyclic export and re-export. |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * export_cyclic_test re-exports export_cyclic_helper1 which declares B | 8 * export_cyclic_test re-exports export_cyclic_helper1 which declares B |
| 9 * export_cyclic_helper1 re-exports export_cyclic_helper2 which declares C | 9 * export_cyclic_helper1 re-exports export_cyclic_helper2 which declares C |
| 10 * export_cyclic_helper2 re-exports export_cyclic_test which declares A | 10 * export_cyclic_helper2 re-exports export_cyclic_test which declares A |
| 11 * export_cyclic_helper2 re-exports export_cyclic_helper3 which declares D | 11 * export_cyclic_helper2 re-exports export_cyclic_helper3 which declares D |
| 12 */ | 12 */ |
| 13 | 13 |
| 14 library export_cyclic_test; | 14 library export_cyclic_test; |
| 15 | 15 |
| 16 import 'export_cyclic_helper1.dart'; | 16 import 'export_cyclic_helper1.dart'; |
| 17 export 'export_cyclic_helper1.dart'; | 17 export 'export_cyclic_helper1.dart'; |
| 18 | 18 |
| 19 class A {} | 19 class A {} |
| 20 | 20 |
| 21 void main() { | 21 void main() { |
| 22 print(new A()); | 22 print(new A()); |
| 23 print(new B()); | 23 print(new B()); |
| 24 print(new C()); | 24 print(new C()); |
| 25 print(new D()); | 25 print(new D()); |
| 26 } | 26 } |
| 27 | |
| OLD | NEW |