testdata for IDEA-67597

This commit is contained in:
anna
2013-01-07 19:08:21 +01:00
parent d1893766c4
commit 5055466ac6
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
class A<T>
{
T x = <error descr="Inconvertible types; cannot cast 'int' to 'T'">(T) 1</error>;
}

View File

@@ -196,6 +196,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testErasureTypeParameterBound() { doTest5(false); }
public void testThisAsAccessObject() { doTest5(false); }
public void testIDEA67861() { doTest7Incompatibility(false); }
public void testIDEA67597() { doTest7Incompatibility(false); }
public void testJavaUtilCollections_NoVerify() throws Exception {
PsiClass collectionsClass = getJavaFacade().findClass("java.util.Collections", GlobalSearchScope.moduleWithLibrariesScope(getModule()));