blob: 0e700d426113019201d3ed8e861cadf15bbcf2f5 [file] [log] [blame]
class A {}
class B extends A {}
class C {
A get y => throw '';
void set x(A value) {}
}
class D extends C {
B get y => throw '';
void set x(Object value) {}
}
class E extends C {
Object get y => throw '';
void set x(B value) {}
}
main() {}