mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-27 12:36:03 +07:00
in the issue, non-vararg overload candidate was chosen cause it was not filtered as inapplicable
17 lines
366 B
Java
17 lines
366 B
Java
import java.util.*;
|
|
abstract class A {
|
|
abstract <T> T baz(List<? super List<? super T>> a);
|
|
|
|
void bar(List<List<?>> x){
|
|
String s = baz(x);
|
|
}
|
|
}
|
|
|
|
abstract class A1{
|
|
abstract <T> T baz(List<? super T> a);
|
|
|
|
void bar(List<?> x){
|
|
String o = <error descr="Incompatible upper bounds: Object, capture of ?, String">baz(x);</error>
|
|
}
|
|
}
|