EA-40053 invalid type diagnostics

This commit is contained in:
peter
2012-11-02 19:10:19 +01:00
parent 8d30a98554
commit f5a641f943
@@ -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);
}