mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
testdata for IDEA-149774
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
|
||||
interface Item<K, V>{}
|
||||
interface Holder<A, B> {
|
||||
boolean apply(Item<? extends A, ? extends B> i);
|
||||
}
|
||||
class C {
|
||||
void f(Holder<?,?> h) {
|
||||
h.apply(create());
|
||||
}
|
||||
|
||||
private <L, M> Item<L,M> create() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user