mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
17 lines
380 B
Java
17 lines
380 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 types. Found: 'capture<?>', required: 'java.lang.String'">baz(x);</error>
|
|
}
|
|
}
|