mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
fix for default overriding abstract: missed substitutor
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import java.util.function.Consumer;
|
||||
|
||||
class Test {
|
||||
interface IOfInt extends Consumer<Integer> {
|
||||
default void accept(Integer i) {}
|
||||
}
|
||||
|
||||
interface TS<T> extends Consumer<T> {}
|
||||
interface TS1<T> extends TS<T> {}
|
||||
|
||||
class OfInt implements TS<Integer>, IOfInt {}
|
||||
class OfInt1 implements Consumer<Integer>, IOfInt {}
|
||||
class OfInt2 implements TS<Integer>, IOfInt {}
|
||||
}
|
||||
Reference in New Issue
Block a user