mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
method refs: accept generic methods in functional interfaces testdata
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
public class Test {
|
||||
|
||||
interface I {
|
||||
<T> String m();
|
||||
}
|
||||
|
||||
static String foo() { return null; }
|
||||
|
||||
public I get() {
|
||||
return Test::foo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user