mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
complex inference algorithm for diamond
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
public class Pos05 {
|
||||
|
||||
static class Foo<X> {
|
||||
Foo(X x) {}
|
||||
}
|
||||
|
||||
void m(Foo<Integer> fi) {}
|
||||
|
||||
void test() {
|
||||
m(new Foo<>(1));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user