blob: 64edca273f415345abb4bdb518fb0f2c51dfc057 [file] [log] [blame]
// @dart = 2.9
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;
}
abstract class B implements Interface {
String method(num i);
}
class C with A, B {}
abstract class D implements Interface, Interface2 {}
class E with A, D {}
abstract class F implements Interface {}
class G with A, F {}
main() {}