testdata for IDEA-67835

This commit is contained in:
anna
2013-07-17 19:49:04 +02:00
parent e6ee01a887
commit b1418932ee
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import java.util.List;
class B {
void bar(List<String> x){
foo(x);
}
<T> T foo(List<? super T> x){
return null;
}
}

View File

@@ -296,6 +296,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
}
public void testIDEA57325() { doTest5(false); }
public void testIDEA67835() { doTest5(false); }
public void testJavaUtilCollections_NoVerify() throws Exception {
PsiClass collectionsClass = getJavaFacade().findClass("java.util.Collections", GlobalSearchScope.moduleWithLibrariesScope(getModule()));