testdata for IDEA-57286

This commit is contained in:
anna
2012-10-23 21:08:52 +02:00
parent 32ba5ea18d
commit fa401e23e8
2 changed files with 7 additions and 0 deletions
@@ -0,0 +1,6 @@
class A<T> {
<S extends A<? extends T>> void foo(){}
void bar(A<?> a){
a.<<error descr="Type parameter 'A' is not within its bound; should extend 'A<capture<?>>'">A<?></error>>foo();
}
}
@@ -174,6 +174,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testIDEA57315() throws Exception { doTest(false); }
public void testIDEA57346() throws Exception { doTest(false); }
public void testIDEA57284() throws Exception { doTest(false); }
public void testIDEA57286() throws Exception { doTest(false); }
public void testInconvertibleTypes() throws Exception { doTest(false); }
public void testIncompatibleReturnType() throws Exception { doTest(false); }
public void testContinueInferenceAfterFirstRawResult() throws Exception { doTest(false); }