testdata for IDEA-57309

This commit is contained in:
anna
2012-10-23 21:08:56 +02:00
parent 132c55ebb1
commit b5ada3d096
2 changed files with 10 additions and 0 deletions
@@ -0,0 +1,9 @@
class A<S> {
void bar(A<? super Exception> x, A<? super Throwable> y){
foo(x, y);
}
<T> T foo(A<? super T> x, A<? super T> y){
return null;
}
}
@@ -179,6 +179,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testIDEA57308() throws Exception { doTest(false); }
public void testIDEA57310() throws Exception { doTest(false); }
public void testIDEA57311() throws Exception { doTest(false); }
public void testIDEA57309() 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); }