| Index: tests/language_strong/mixin_illegal_constructor_test.dart
|
| diff --git a/tests/language_strong/mixin_illegal_constructor_test.dart b/tests/language_strong/mixin_illegal_constructor_test.dart
|
| index 7f54fa81fd212dccb00a11c5467533fedb7ad9c1..d008f0810e918d711f9713e32177003389c3253a 100644
|
| --- a/tests/language_strong/mixin_illegal_constructor_test.dart
|
| +++ b/tests/language_strong/mixin_illegal_constructor_test.dart
|
| @@ -16,40 +16,40 @@ class M2 {
|
| }
|
|
|
| class C0 = Object with M0;
|
| -class C1 = Object with M1; // /// 01: compile-time error
|
| -class C2 = Object with M2; // /// 02: compile-time error
|
| -class C3 = Object with M0, M1; // /// 03: compile-time error
|
| -class C4 = Object with M1, M0; // /// 04: compile-time error
|
| -class C5 = Object with M0, M2; // /// 05: compile-time error
|
| -class C6 = Object with M2, M0; // /// 06: compile-time error
|
| +class C1 = Object with M1; // //# 01: compile-time error
|
| +class C2 = Object with M2; // //# 02: compile-time error
|
| +class C3 = Object with M0, M1; // //# 03: compile-time error
|
| +class C4 = Object with M1, M0; // //# 04: compile-time error
|
| +class C5 = Object with M0, M2; // //# 05: compile-time error
|
| +class C6 = Object with M2, M0; // //# 06: compile-time error
|
|
|
| class D0 extends Object with M0 { }
|
| -class D1 extends Object with M1 { } // /// 07: compile-time error
|
| -class D2 extends Object with M2 { } // /// 08: compile-time error
|
| -class D3 extends Object with M0, M1 { } // /// 09: compile-time error
|
| -class D4 extends Object with M1, M0 { } // /// 10: compile-time error
|
| -class D5 extends Object with M0, M2 { } // /// 11: compile-time error
|
| -class D6 extends Object with M2, M0 { } // /// 12: compile-time error
|
| +class D1 extends Object with M1 { } // //# 07: compile-time error
|
| +class D2 extends Object with M2 { } // //# 08: compile-time error
|
| +class D3 extends Object with M0, M1 { } // //# 09: compile-time error
|
| +class D4 extends Object with M1, M0 { } // //# 10: compile-time error
|
| +class D5 extends Object with M0, M2 { } // //# 11: compile-time error
|
| +class D6 extends Object with M2, M0 { } // //# 12: compile-time error
|
|
|
| main() {
|
| new C0();
|
| - new C1(); // /// 01: continued
|
| - new C2(); // /// 02: continued
|
| - new C3(); // /// 03: continued
|
| - new C4(); // /// 04: continued
|
| - new C5(); // /// 05: continued
|
| - new C6(); // /// 06: continued
|
| + new C1(); // //# 01: continued
|
| + new C2(); // //# 02: continued
|
| + new C3(); // //# 03: continued
|
| + new C4(); // //# 04: continued
|
| + new C5(); // //# 05: continued
|
| + new C6(); // //# 06: continued
|
|
|
| new D0();
|
| - new D1(); // /// 07: continued
|
| - new D2(); // /// 08: continued
|
| - new D3(); // /// 09: continued
|
| - new D4(); // /// 10: continued
|
| - new D5(); // /// 11: continued
|
| - new D6(); // /// 12: continued
|
| -
|
| - new C0(1,2,3); // /// 13: static type warning, runtime error
|
| - new C0.named(); // /// 14: static type warning, runtime error
|
| - new D0(1,2,3); // /// 15: static type warning, runtime error
|
| - new D0.named(); // /// 16: static type warning, runtime error
|
| + new D1(); // //# 07: continued
|
| + new D2(); // //# 08: continued
|
| + new D3(); // //# 09: continued
|
| + new D4(); // //# 10: continued
|
| + new D5(); // //# 11: continued
|
| + new D6(); // //# 12: continued
|
| +
|
| + new C0(1,2,3); // //# 13: static type warning, runtime error
|
| + new C0.named(); // //# 14: static type warning, runtime error
|
| + new D0(1,2,3); // //# 15: static type warning, runtime error
|
| + new D0.named(); // //# 16: static type warning, runtime error
|
| }
|
|
|