mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
testdata for IDEA-57284
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
abstract class A<S> {
|
||||
abstract <T extends S> void foo();
|
||||
void bar(A<? super Exception> x){
|
||||
x.<<error descr="Type parameter 'String[]' is not within its bound; should extend 'capture<? super java.lang.Exception>'">String[]</error>>foo();
|
||||
}
|
||||
}
|
||||
@@ -173,6 +173,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
public void testIDEA57264() throws Exception { doTest(false); }
|
||||
public void testIDEA57315() throws Exception { doTest(false); }
|
||||
public void testIDEA57346() throws Exception { doTest(false); }
|
||||
public void testIDEA57284() 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