| 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 S0 { } | 5 class S0 { } |
| 6 class S1 extends Object { } | 6 class S1 extends Object { } |
| 7 class S2 extends S0 { } | 7 class S2 extends S0 { } |
| 8 | 8 |
| 9 class M0 { } | 9 class M0 { } |
| 10 class M1 extends Object { } | 10 class M1 extends Object { } |
| 11 class M2 extends M0 { } | 11 class M2 extends M0 { } |
| 12 | 12 |
| 13 typedef C00 = S0 with M0; | 13 class C00 = S0 with M0; |
| 14 typedef C01 = S0 with M1; | 14 class C01 = S0 with M1; |
| 15 typedef C02 = S0 with M2; /// 01: compile-time error | 15 class C02 = S0 with M2; /// 01: compile-time error |
| 16 typedef C03 = S0 with M0, M1; | 16 class C03 = S0 with M0, M1; |
| 17 typedef C04 = S0 with M0, M2; /// 02: compile-time error | 17 class C04 = S0 with M0, M2; /// 02: compile-time error |
| 18 typedef C05 = S0 with M2, M0; /// 03: compile-time error | 18 class C05 = S0 with M2, M0; /// 03: compile-time error |
| 19 typedef C06 = S0 with M1, M2; /// 04: compile-time error | 19 class C06 = S0 with M1, M2; /// 04: compile-time error |
| 20 typedef C07 = S0 with M2, M1; /// 05: compile-time error | 20 class C07 = S0 with M2, M1; /// 05: compile-time error |
| 21 | 21 |
| 22 typedef C10 = S1 with M0; | 22 class C10 = S1 with M0; |
| 23 typedef C11 = S1 with M1; | 23 class C11 = S1 with M1; |
| 24 typedef C12 = S1 with M2; /// 06: compile-time error | 24 class C12 = S1 with M2; /// 06: compile-time error |
| 25 typedef C13 = S1 with M0, M1; | 25 class C13 = S1 with M0, M1; |
| 26 typedef C14 = S1 with M0, M2; /// 07: compile-time error | 26 class C14 = S1 with M0, M2; /// 07: compile-time error |
| 27 typedef C15 = S1 with M2, M0; /// 08: compile-time error | 27 class C15 = S1 with M2, M0; /// 08: compile-time error |
| 28 typedef C16 = S1 with M1, M2; /// 09: compile-time error | 28 class C16 = S1 with M1, M2; /// 09: compile-time error |
| 29 typedef C17 = S1 with M2, M1; /// 10: compile-time error | 29 class C17 = S1 with M2, M1; /// 10: compile-time error |
| 30 | 30 |
| 31 typedef C20 = S2 with M0; | 31 class C20 = S2 with M0; |
| 32 typedef C21 = S2 with M1; | 32 class C21 = S2 with M1; |
| 33 typedef C22 = S2 with M2; /// 11: compile-time error | 33 class C22 = S2 with M2; /// 11: compile-time error |
| 34 typedef C23 = S2 with M0, M1; | 34 class C23 = S2 with M0, M1; |
| 35 typedef C24 = S2 with M0, M2; /// 12: compile-time error | 35 class C24 = S2 with M0, M2; /// 12: compile-time error |
| 36 typedef C25 = S2 with M2, M0; /// 13: compile-time error | 36 class C25 = S2 with M2, M0; /// 13: compile-time error |
| 37 typedef C26 = S2 with M1, M2; /// 14: compile-time error | 37 class C26 = S2 with M1, M2; /// 14: compile-time error |
| 38 typedef C27 = S2 with M2, M1; /// 15: compile-time error | 38 class C27 = S2 with M2, M1; /// 15: compile-time error |
| 39 | 39 |
| 40 class D00 extends S0 with M0 { } | 40 class D00 extends S0 with M0 { } |
| 41 class D01 extends S0 with M1 { } | 41 class D01 extends S0 with M1 { } |
| 42 class D02 extends S0 with M2 { } /// 16: compile-time error | 42 class D02 extends S0 with M2 { } /// 16: compile-time error |
| 43 class D03 extends S0 with M0, M1 { } | 43 class D03 extends S0 with M0, M1 { } |
| 44 class D04 extends S0 with M0, M2 { } /// 17: compile-time error | 44 class D04 extends S0 with M0, M2 { } /// 17: compile-time error |
| 45 class D05 extends S0 with M2, M0 { } /// 18: compile-time error | 45 class D05 extends S0 with M2, M0 { } /// 18: compile-time error |
| 46 class D06 extends S0 with M1, M2 { } /// 19: compile-time error | 46 class D06 extends S0 with M1, M2 { } /// 19: compile-time error |
| 47 class D07 extends S0 with M2, M1 { } /// 20: compile-time error | 47 class D07 extends S0 with M2, M1 { } /// 20: compile-time error |
| 48 | 48 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 new D20(); | 113 new D20(); |
| 114 new D21(); | 114 new D21(); |
| 115 new D22(); /// 26: continued | 115 new D22(); /// 26: continued |
| 116 new D23(); | 116 new D23(); |
| 117 new D24(); /// 27: continued | 117 new D24(); /// 27: continued |
| 118 new D25(); /// 28: continued | 118 new D25(); /// 28: continued |
| 119 new D26(); /// 29: continued | 119 new D26(); /// 29: continued |
| 120 new D27(); /// 30: continued | 120 new D27(); /// 30: continued |
| 121 } | 121 } |
| OLD | NEW |