IDEA-83714 Non-existent class in generic arguments trips the smart auto-completion component

This commit is contained in:
peter
2012-04-25 23:44:37 +02:00
parent 39b1487491
commit a58b97b936
4 changed files with 18 additions and 0 deletions
@@ -470,6 +470,11 @@ 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;