mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
enable the scary fix for IDEA-83714 Non-existent class in generic arguments trips the smart auto-completion component
This commit is contained in:
@@ -470,11 +470,9 @@ public class PsiResolveHelperImpl implements PsiResolveHelper {
|
||||
PsiType bound = intersectAllExtends(typeParam, arg);
|
||||
return new Pair<PsiType, ConstraintType>(bound, ConstraintType.SUPERTYPE);
|
||||
}
|
||||
/*
|
||||
if (psiClass == null && arg instanceof PsiClassType) {
|
||||
return Pair.create(arg, ConstraintType.EQUALS);
|
||||
}
|
||||
*/
|
||||
return null;
|
||||
}
|
||||
if (paramClass == null) return null;
|
||||
|
||||
+1
-1
@@ -234,7 +234,7 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
}
|
||||
|
||||
public void testCastInThrow() throws Exception { doTest(); }
|
||||
public void _testNonExistentGenericAfterNew() throws Exception { doTest(); }
|
||||
public void testNonExistentGenericAfterNew() throws Exception { doTest(); }
|
||||
|
||||
public void testParenAfterNewWithinInnerExpr() throws Exception {
|
||||
String path = "/afterNew";
|
||||
|
||||
Reference in New Issue
Block a user