mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
testdata for IDEA-67843
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
import java.util.List;
|
||||
|
||||
class B{
|
||||
public static void bar(){
|
||||
<error descr="Inferred type 'java.util.List<java.lang.Comparable>' for type parameter 'T' is not within its bound; should implement 'java.util.List<java.lang.Comparable<java.util.List<java.lang.Comparable>>>'">foo(null)</error>.get(0).compareTo(null);
|
||||
}
|
||||
static <T extends List<Comparable<T>>> T foo(T x) {
|
||||
return x;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user