fix reference to inner class of generic outer in static context (IDEA-215061)

GitOrigin-RevId: b969c41b3282bf89c4b44da598c7ec408ea8fec5
This commit is contained in:
Anna Kozlova
2019-05-29 23:07:12 +03:00
committed by intellij-monorepo-bot
parent e0cd053939
commit 4b9293e63f
5 changed files with 44 additions and 4 deletions
@@ -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();
}
}
@@ -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();
}
}