mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-06 05:10:22 +07:00
testdata for IDEA-57312
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class A<T> {
|
||||
A<A<? super A<T>>> foo(){
|
||||
return null;
|
||||
}
|
||||
|
||||
void bar(A<?> x){
|
||||
baz(x.foo());
|
||||
}
|
||||
|
||||
<S> void baz(A<A<? super A<S>>> x){}
|
||||
}
|
||||
@@ -308,6 +308,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
public void testIDEA107440() { doTest5(false); }
|
||||
public void testIDEA57289() { doTest5(false); }
|
||||
public void testIDEA57439() { doTest5(false); }
|
||||
public void testIDEA57312() { doTest5(false); }
|
||||
|
||||
public void testJavaUtilCollections_NoVerify() throws Exception {
|
||||
PsiClass collectionsClass = getJavaFacade().findClass("java.util.Collections", GlobalSearchScope.moduleWithLibrariesScope(getModule()));
|
||||
|
||||
Reference in New Issue
Block a user