mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
TypeName.super.foo() when TypeName denotes interface
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
interface I {
|
||||
default void m() {}
|
||||
|
||||
}
|
||||
interface J extends I {}
|
||||
|
||||
class C implements I, J {
|
||||
{
|
||||
<error descr="Bad type qualifier in default super call: redundant interface I is extended by J">I</error>.super.m();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user