mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
testdata for IDEA-57410
This commit is contained in:
+10
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user