GenericHighlightingTest fixed

This commit is contained in:
Alexey Kudravtsev
2013-07-04 11:13:52 +04:00
parent 1d0f5daad7
commit 1c70b3a95f
4 changed files with 19 additions and 33 deletions
@@ -3,5 +3,5 @@ import java.util.List;
interface A
{
<<error descr="'addAll(Collection<? extends E>)' in 'java.util.Collection' clashes with 'addAll(Collection<? extends E>)' in 'java.util.List'; both methods have same erasure, yet neither overrides the other"></error>T extends List<?> & Collection<? extends Cloneable>> void foo(T x);
<<error descr="'add(E)' in 'java.util.List' clashes with 'add(E)' in 'java.util.Collection'; both methods have same erasure, yet neither overrides the other"></error>T extends List<?> & Collection<? extends Cloneable>> void foo(T x);
}