advHighlighting -> light test case

This commit is contained in:
Anna.Kozlova
2019-01-02 16:35:41 +01:00
parent 7c76bbbbb7
commit 2e7f05efd0
57 changed files with 201 additions and 278 deletions
@@ -0,0 +1,18 @@
package pck;
import static pck.D.foo;
import static pck.C.foo;
class C {
public static <T> void foo(Comparable<? extends Comparable<T>> x){}
}
class D {
public static void foo(Comparable<? extends Number> x){}
}
class B{
public static void bar(){
foo<error descr="Ambiguous method call: both 'D.foo(Comparable<? extends Number>)' and 'C.foo(Comparable<? extends Comparable<Integer>>)' match">(1)</error>;
}
}