mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 03:07:47 +07:00
overload resolution: same signatures should not check return types, etc already processed in hierarchical signatures (IDEA-172129)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import java.util.function.Consumer;
|
||||
class Foo {
|
||||
private static Consumer<Object> consumer = Foo::vaMethod;
|
||||
|
||||
private static <T> T vaMethod(Object... varargs) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user