| 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 class A { | 5 library export_cyclic_helper2; |
| 6 |
| 7 import 'export_cyclic_test.dart'; |
| 8 import 'export_cyclic_helper3.dart'; |
| 9 export 'export_cyclic_test.dart'; |
| 10 export 'export_cyclic_helper3.dart'; |
| 11 |
| 12 class C { |
| 6 A a; | 13 A a; |
| 7 | 14 B b; |
| 8 bar(c) { | 15 C c; |
| 9 c.a = 2; /// 01: dynamic type error | 16 D d; |
| 10 } | |
| 11 } | 17 } |
| 12 | |
| 13 class B { | |
| 14 int a; | |
| 15 } | |
| 16 | |
| 17 main() { | |
| 18 new A().bar(new A()); /// 01: continued | |
| 19 new A().bar(new B()); | |
| 20 } | |
| OLD | NEW |