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,15 @@
package pck;
class A<T> {}
interface IA{
<T> void foo(A<T> x);
}
interface IB{
<T extends Exception> void foo(A<T> x);
}
class C {
<<error descr="'foo(A<T>)' in 'pck.IB' clashes with 'foo(A<T>)' in 'pck.IA'; both methods have same erasure, yet neither overrides the other"></error>T extends IA & IB> void bar(T x, A<Exception> y){
x.foo(y);
}
}