mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
method refs: do not accept static varargs methods by receiver (IDEA-128534)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import java.util.Set;
|
||||
|
||||
class Test {
|
||||
|
||||
public static void foo(String[] args, final Set<Test> singleton) {
|
||||
singleton.forEach(Test::m);
|
||||
}
|
||||
|
||||
public static void m(Test... others) {}
|
||||
}
|
||||
Reference in New Issue
Block a user