mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-40053 invalid type diagnostics
This commit is contained in:
@@ -163,6 +163,9 @@ public class PsiScopesUtil {
|
||||
PsiType type = null;
|
||||
if (qualifier instanceof PsiExpression) {
|
||||
type = ((PsiExpression)qualifier).getType();
|
||||
if (type != null) {
|
||||
assert type.isValid() : type.getClass() + "; " + qualifier;
|
||||
}
|
||||
processTypeDeclarations(type, ref, processor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user