testdata for IDEA-57312

This commit is contained in:
anna
2013-08-06 20:45:28 +02:00
parent c8cc567c52
commit 75b37b8dbf
2 changed files with 12 additions and 0 deletions

View File

@@ -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){}
}

View File

@@ -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()));