mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 06:49:59 +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
+14
@@ -0,0 +1,14 @@
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
abstract class Overloadsss {
|
||||
abstract <T> List<T> foo(List<T> l);
|
||||
abstract <T> Set<T> foo(Set<T> s);
|
||||
|
||||
abstract <K> List<K> bar1(List<K> l);
|
||||
abstract <K> Set<K> bar1(Set<K> s);
|
||||
|
||||
{
|
||||
List<String> l1 = foo(<caret>bar1(null));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user