test data for IDEA-67677

This commit is contained in:
anna
2013-04-30 21:09:48 +02:00
parent 798d7d1a0c
commit 4464909657
2 changed files with 12 additions and 0 deletions
@@ -0,0 +1,11 @@
import java.util.List;
interface B<T extends Cloneable> {
void foo(List<? super T> x);
}
class D {
void bar(B<?> x, List<?> y) {
x.foo<error descr="'foo(java.util.List<? super capture<? extends java.lang.Cloneable>>)' in 'B' cannot be applied to '(java.util.List<capture<?>>)'">(y)</error>;
}
}
@@ -209,6 +209,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testIDEA105695(){ doTest5(false); }
public void testIDEA104992(){ doTest5(false); }
public void testIDEA57446(){ doTest5(false); }
public void testIDEA67677(){ doTest5(false); }
public void testWildcardsOnRawTypes() { doTest5(false); }
public void testDisableWithinBoundsCheckForSuperWildcards() {