mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
fix reference to inner class of generic outer in static context (IDEA-215061)
GitOrigin-RevId: b969c41b3282bf89c4b44da598c7ec408ea8fec5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e0cd053939
commit
4b9293e63f
+11
@@ -0,0 +1,11 @@
|
||||
// "Create local variable 'inner'" "true"
|
||||
class OuterGeneric<T> {
|
||||
class Inner {
|
||||
}
|
||||
static OuterGeneric<Object>.Inner create() {
|
||||
return null;
|
||||
}
|
||||
public static void main(String[] args) {
|
||||
OuterGeneric.Inner inner = create();
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// "Create local variable 'inner'" "true"
|
||||
class OuterGeneric<T> {
|
||||
class Inner {
|
||||
}
|
||||
static OuterGeneric<Object>.Inner create() {
|
||||
return null;
|
||||
}
|
||||
public static void main(String[] args) {
|
||||
i<caret>nner = create();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user