mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 05:21:29 +07:00
testdata for IDEA-57495
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import java.util.*;
|
||||
interface C<T> extends List<List<T>>{}
|
||||
abstract class A {
|
||||
abstract <T> T baz(List<? super List<? super T>> a);
|
||||
|
||||
void bar(C<?> x){
|
||||
baz<error descr="'baz(java.util.List<? super java.util.List<? super java.lang.Object>>)' in 'A' cannot be applied to '(C<capture<?>>)'">(x)</error>;
|
||||
}
|
||||
}
|
||||
@@ -167,6 +167,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
public void testIDEA57486() throws Exception { doTest(false); }
|
||||
public void testIDEA57492() throws Exception { doTest(false); }
|
||||
public void testIDEA57493() throws Exception { doTest(false); }
|
||||
public void testIDEA57495() 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