mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
method refs: accept qualified receivers when called over raw type
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
class MyTest {
|
||||
|
||||
static class Foo<T> {
|
||||
T m() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
interface I {
|
||||
Integer m(Foo<Integer> f);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
I i = Foo::m;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user