mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 18:28:55 +07:00
constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
89bb3c6fda
commit
91f7445298
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user