blob: 37ad3f04c6a022612c4956615a596ead93f00c77 [file] [log] [blame]
class Super {
num extendedMethod() => 0;
}
class Mixin {
num mixedInMethod() => 0;
}
abstract class Interface1 {
int extendedMethod();
int mixedInMethod();
}
abstract class Interface2 extends Super with Mixin {
int extendedMethod();
int mixedInMethod();
}
class ClassExtends extends Super with Mixin implements Interface1 {}
class ClassExtendsWithNoSuchMethod extends Super
with Mixin
implements Interface1 {
@override
noSuchMethod(Invocation invocation) {}
}
class ClassImplements implements Interface2 {}
class ClassImplementsWithNoSuchMethod implements Interface2 {
@override
noSuchMethod(Invocation invocation) {}
}
class ClassDeclaresExtends extends Super with Mixin {
int extendedMethod();
int mixedInMethod();
}
class ClassDeclaresExtendsWithNoSuchMethod extends Super with Mixin {
@override
noSuchMethod(Invocation invocation) {}
int extendedMethod();
int mixedInMethod();
}
class ClassDeclaresImplementsWithNoSuchMethod implements Super, Mixin {
@override
noSuchMethod(Invocation invocation) {}
int extendedMethod();
int mixedInMethod();
}
main() {}