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,12 @@
package pck;
interface I{
<T extends Iterable<String> & Cloneable> void foo();
}
abstract class A {
abstract <T extends Iterable<String>> void foo();
<<error descr="'foo()' in 'pck.I' clashes with 'foo()' in 'pck.A'; both methods have same erasure, yet neither overrides the other"></error>T extends A & I> void bar(T x){
x.foo<error descr="Ambiguous method call: both 'A.foo()' and 'I.foo()' match">()</error>;
}
}