blob: fcde3b52079dfd57069ffc4f0b6d7c0bf870326c [file] [log] [blame]
//
// Problems in component:
//
// pkg/front_end/testcases/inference/mixin_inference_outwards_1.dart:12:7: Error: 'M0 with M1' can't implement both 'I<int>' and 'I<dynamic>'
// - 'I' is from 'pkg/front_end/testcases/inference/mixin_inference_outwards_1.dart'.
// 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 'I<int>' and 'I<dynamic>'
// - 'I' is from 'pkg/front_end/testcases/inference/mixin_inference_outwards_1.dart'.
// 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
;