blob: a4e284c416e4a0b77c70bbd2b86425e73dee97ec [file] [log] [blame]
library test;
class A {
A f(A x, {A? y}) => throw '';
A g(A x, {A? y}) => throw '';
A h(A x, {A? y}) => throw '';
}
class B extends A implements I {
f(x, {y}) => throw '';
g(x, {y}) => throw '';
h(x, {y}) => throw '';
}
class I {
I f(I x, {I? y}) => throw '';
A g(I x, {I? y}) => throw '';
A h(A x, {I? y}) => throw '';
}
main() {}