blob: de9f28a61d040e9c9e082763667f613c3890d3e1 [file] [log] [blame]
interface Base {
Base[] EMPTY_ARRAY = new Base[0];
}
interface Derived1 extends Base {}
interface Derived2 extends Base {
Derived2[] EMPTY_ARRAY = new Derived2[0];
}
class Implementor implements Derived1, Derived2 {
//Implementor[] EMPTY_ARRAY = new Implementor[0];
Derived2[] f() {
return <ref>EMPTY_ARRAY; //conflict
}
}