mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnose invalid type (EA-40203)
This commit is contained in:
@@ -173,6 +173,8 @@ public class JavaCompletionSorting {
|
||||
PsiType itemType = JavaCompletionUtil.getLookupElementType(item);
|
||||
|
||||
if (itemType != null) {
|
||||
assert itemType.isValid() : item + "; " + item.getClass();
|
||||
|
||||
for (final ExpectedTypeInfo expectedInfo : expectedInfos) {
|
||||
final PsiType defaultType = expectedInfo.getDefaultType();
|
||||
final PsiType expectedType = expectedInfo.getType();
|
||||
|
||||
Reference in New Issue
Block a user