mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
ensure static method inherit default if container classes are inheritors
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
interface A {
|
||||
default void foo(){}
|
||||
}
|
||||
|
||||
interface B extends A {
|
||||
<error descr="Static method 'foo()' in 'B' cannot override instance method 'foo()' in 'A'">static void foo()</error>{}
|
||||
}
|
||||
Reference in New Issue
Block a user