mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
extend check for enclosing instance for java 8 default methods in interfaces (IDEA-140492)
This commit is contained in:
+7
@@ -38,5 +38,12 @@ class Test {
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
interface D extends J {
|
||||
default void m() {
|
||||
<error descr="No enclosing instance of type 'Test.D' is in scope">D</error>.super.toString();
|
||||
J.super.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user