mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
~do not accept self nested classes in class declaration if they inherit nested classes from superclass (IDEA-55510)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
abstract class IdeaBugTest<M extends IdeaBugTest.Mapping>
|
||||
{
|
||||
static class Mapping {}
|
||||
}
|
||||
|
||||
class BugTestSub extends IdeaBugTest<<error descr="SubMapping is not accessible in current context">BugTestSub.SubMapping</error>>
|
||||
{
|
||||
public abstract static class SubMapping extends Mapping {}
|
||||
}
|
||||
|
||||
class BugTestSub1 extends IdeaBugTest<BugTestSub1.SubMapping>
|
||||
{
|
||||
public abstract static class SubMapping extends IdeaBugTest.Mapping {} //fqn here
|
||||
}
|
||||
Reference in New Issue
Block a user