mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
17 lines
382 B
Java
17 lines
382 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="Type parameter T has incompatible upper bounds: capture of ? and String">baz(x);</error>
|
|
}
|
|
}
|