OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 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 | 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 M {} | 5 class M { } |
6 class M0 extends Object with M0 { } // //# 01: compile-time error | 6 class M0 extends Object with M0 { } // //# 01: compile-time error |
7 class M1 = Object with M1; // //# 02: compile-time error | 7 class M1 = Object with M1; // //# 02: compile-time error |
8 | 8 |
9 class M2 = Object with M3; // //# 03: compile-time error | 9 class M2 = Object with M3; // //# 03: compile-time error |
10 class M3 = Object with M2; // //# 03: continued | 10 class M3 = Object with M2; // //# 03: continued |
11 | 11 |
12 class M4 = Object with M5; // //# 04: compile-time error | 12 class M4 = Object with M5; // //# 04: compile-time error |
13 class M5 = Object with M6; // //# 04: continued | 13 class M5 = Object with M6; // //# 04: continued |
14 class M6 = Object with M4; // //# 04: continued | 14 class M6 = Object with M4; // //# 04: continued |
15 | 15 |
(...skipping 14 matching lines...) Expand all Loading... |
30 | 30 |
31 new M4(); // //# 04: continued | 31 new M4(); // //# 04: continued |
32 new M5(); // //# 04: continued | 32 new M5(); // //# 04: continued |
33 new M6(); // //# 04: continued | 33 new M6(); // //# 04: continued |
34 | 34 |
35 new M7(); // //# 05: continued | 35 new M7(); // //# 05: continued |
36 new M8(); // //# 05: continued | 36 new M8(); // //# 05: continued |
37 | 37 |
38 new M9(); // //# 06: continued | 38 new M9(); // //# 06: continued |
39 } | 39 } |
OLD | NEW |