| // |
| // Problems in component: |
| // |
| // pkg/front_end/testcases/inference/mixin_inference_multiple_constraints.dart:16:7: Error: 'M2 with M0' can't implement both 'I<int>' and 'I<dynamic>' |
| // - 'I' is from 'pkg/front_end/testcases/inference/mixin_inference_multiple_constraints.dart'. |
| // class A extends M2 with M0 {} |
| // ^ |
| // |
| // pkg/front_end/testcases/inference/mixin_inference_multiple_constraints.dart:16:7: Error: 'M2 with M0' can't implement both 'J<double>' and 'J<dynamic>' |
| // - 'J' is from 'pkg/front_end/testcases/inference/mixin_inference_multiple_constraints.dart'. |
| // class A extends M2 with M0 {} |
| // ^ |
| // |
| // pkg/front_end/testcases/inference/mixin_inference_multiple_constraints.dart:16:7: Error: 'A' can't implement both 'I<int>' and 'I<dynamic>' |
| // - 'I' is from 'pkg/front_end/testcases/inference/mixin_inference_multiple_constraints.dart'. |
| // class A extends M2 with M0 {} |
| // ^ |
| // |
| // pkg/front_end/testcases/inference/mixin_inference_multiple_constraints.dart:16:7: Error: 'A' can't implement both 'J<double>' and 'J<dynamic>' |
| // - 'J' is from 'pkg/front_end/testcases/inference/mixin_inference_multiple_constraints.dart'. |
| // class A extends M2 with M0 {} |
| // ^ |
| // |
| 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> |
| : super core::Object::•() |
| ; |
| } |
| class J<X extends core::Object = dynamic> extends core::Object { |
| synthetic constructor •() → self::J<self::J::X> |
| : super core::Object::•() |
| ; |
| } |
| abstract class _M0&I&J<X extends core::Object = dynamic, Y extends core::Object = dynamic> extends self::I<self::_M0&I&J::X> implements self::J<self::_M0&I&J::Y> { |
| synthetic constructor •() → self::_M0&I&J<self::_M0&I&J::X, self::_M0&I&J::Y> |
| : super self::I::•() |
| ; |
| } |
| class M0<X extends core::Object = dynamic, Y extends core::Object = dynamic> extends self::_M0&I&J<self::M0::X, self::M0::Y> { |
| synthetic constructor •() → self::M0<self::M0::X, self::M0::Y> |
| : super self::_M0&I&J::•() |
| ; |
| } |
| class M1 extends core::Object implements self::I<core::int> { |
| synthetic constructor •() → self::M1 |
| : super core::Object::•() |
| ; |
| } |
| class M2 extends self::M1 implements self::J<core::double> { |
| synthetic constructor •() → self::M2 |
| : super self::M1::•() |
| ; |
| } |
| abstract class _A&M2&M0 extends self::M2 implements self::M0<dynamic, dynamic> { |
| synthetic constructor •() → self::_A&M2&M0 |
| : super self::M2::•() |
| ; |
| } |
| class A extends self::_A&M2&M0 { |
| synthetic constructor •() → self::A |
| : super self::_A&M2&M0::•() |
| ; |
| } |
| static method main() → dynamic {} |