mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
advHighlighting -> light test case
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
package pck;
|
||||
|
||||
class B<K> {}
|
||||
class A<K> extends B<K> {
|
||||
void foo(A<A<String>> b){
|
||||
bar<error descr="Ambiguous method call: both 'A.bar(B<? extends A<String>>)' and 'A.bar(A<? extends B<String>>)' match">(b)</error>;
|
||||
}
|
||||
|
||||
<T> void bar(B<? extends A<T>> a){}
|
||||
<T> void bar(A<? extends B<T>> a){}
|
||||
}
|
||||
Reference in New Issue
Block a user