method refs: varargs in referenced method processed (IDEA-92598)

This commit is contained in:
anna
2012-10-08 19:02:36 +02:00
parent ada232f63e
commit 8f11a9d3fa
4 changed files with 21 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
class Test {
public static void main(String... args) {}
void test() {
Foo foo = Test::main;
}
}
interface Foo {
void bar();
}