[groovy] fix NPE

This commit is contained in:
Daniil Ovchinnikov
2018-09-28 14:58:35 +03:00
parent b8d561932f
commit 36c0522a5b
@@ -212,11 +212,11 @@ public class DefaultCallExpressionTypeCalculator extends GrCallExpressionTypeCal
return arrayType.getComponentType().accept(this);
}
@NotNull
@Nullable
@Override
public Boolean visitWildcardType(PsiWildcardType wildcardType) {
final PsiType bound = wildcardType.getBound();
return bound != null && bound.accept(this);
return bound == null ? null : bound.accept(this);
}
}) == Boolean.TRUE;
}