mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: ed0cf0daf5dbfb034882d49ad5e9c03f264b451e
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</error>(x);
|
|
}
|
|
}
|