| // Formatted problems: |
| // |
| // pkg/front_end/testcases/inference/mixin_inference_outwards_1.dart:12:7: Error: 'M0 with M1' can't implement both '#lib1::I<dart.core::int>' and '#lib1::I<dynamic>' |
| // class A extends M0<int> with M1 {} |
| // ^ |
| // |
| // pkg/front_end/testcases/inference/mixin_inference_outwards_1.dart:12:7: Error: 'A' can't implement both '#lib1::I<dart.core::int>' and '#lib1::I<dynamic>' |
| // class A extends M0<int> with M1 {} |
| // ^ |
| |
| library; |
| import self as self; |
| import "dart:core" as core; |
| |
| class I<X extends core::Object = dynamic> extends core::Object { |
| synthetic constructor •() → self::I<self::I::X> |
| ; |
| } |
| class M0<T extends core::Object = dynamic> extends self::I<self::M0::T> { |
| synthetic constructor •() → self::M0<self::M0::T> |
| ; |
| } |
| class M1<T extends core::Object = dynamic> extends self::I<self::M1::T> { |
| synthetic constructor •() → self::M1<self::M1::T> |
| ; |
| } |
| abstract class _A&M0&M1 = self::M0<core::int> with self::M1<dynamic> { |
| synthetic constructor •() → self::_A&M0&M1 |
| : super self::M0::•() |
| ; |
| } |
| class A extends self::_A&M0&M1 { |
| synthetic constructor •() → self::A |
| ; |
| } |
| static method main() → dynamic |
| ; |