testdata for IDEA-57310

This commit is contained in:
anna
2012-10-23 21:08:55 +02:00
parent c7b237eb01
commit 17b64a96f7
2 changed files with 10 additions and 0 deletions
@@ -0,0 +1,9 @@
class A<T> {
Exception[] bar(A<? super Exception[]> x, A<? super Throwable[]> y){
return this.foo(x, y);
}
<T> T foo(A<? super T> x, A<? super T> y){
return null;
}
}
@@ -177,6 +177,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testIDEA57286() throws Exception { doTest(false); }
public void testIDEA57307() throws Exception { doTest(true); }
public void testIDEA57308() throws Exception { doTest(false); }
public void testIDEA57310() 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); }