blob: 5bbfd39c6eb3b7a918296902b4990ef5d987cecb [file] [log] [blame]
abstract class Interface {
String method(num i);
}
abstract class Interface2 {
String method(covariant int i);
}
mixin A implements Interface {
String method(num i, {String s = "hello"}) => s;
}
mixin B implements Interface {
String method(num i);
}
class C with A, B {}
mixin D implements Interface, Interface2 {}
class E with A, D {}
mixin F implements Interface {}
class G with A, F {}
main() {}