mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
non wildcard parameterization: workaround problems caused by different parameterizations of the same class during glb algorithm (IDEA-132690)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
interface A<T> {
|
||||
void method(B<? extends A<? super T>> arg);
|
||||
}
|
||||
|
||||
interface B<T extends A<?>> {
|
||||
void method();
|
||||
}
|
||||
|
||||
class Test {
|
||||
public static void test(A<?> a) {
|
||||
a.method(() -> {});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user