testdata for IDEA-67599

This commit is contained in:
anna
2012-10-23 17:13:34 +02:00
parent c8f56fcb28
commit 0a00c340b2
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
abstract class A<T, S extends T>
{
abstract S bar();
void foo(A<Cloneable[], ? extends Throwable[]> a)
{
int x = a.bar().length;
}
}

View File

@@ -150,6 +150,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testIDEA89771() throws Exception { doTest(false); }
public void testIDEA89801() throws Exception { doTest(false); }
public void testIDEA67681() throws Exception { doTest(false); }
public void testIDEA67599() 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); }