testdata for IDEA-57410

This commit is contained in:
anna
2012-10-23 21:08:39 +02:00
parent faca3a20d6
commit b704249a4c
2 changed files with 11 additions and 0 deletions
@@ -0,0 +1,10 @@
interface IA {
<T> void a(Iterable<String> x);
}
interface IB {
<T> void a(Iterable x);
}
<error descr="'a(Iterable)' in 'IB' clashes with 'a(Iterable<String>)' in 'IA'; both methods have same erasure, yet neither overrides the other">abstract class C implements IA, IB</error> {}
@@ -160,6 +160,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testIDEA57275() throws Exception { doTest(false); }
public void testIDEA57533() throws Exception { doTest(false); }
public void testIDEA57509() throws Exception { doTest(false); }
public void testIDEA57410() 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); }