mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
infer generic functional types by lambda's formal parameters and exact method refs
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import java.util.function.Consumer;
|
||||
|
||||
class Foo {
|
||||
void test() {
|
||||
Consumer<Integer> l = System::exit;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user