PSI: Make JetPostfixExpression.getBaseExpression() nullable

#KT-7761 Fixed
This commit is contained in:
Alexey Sedunov
2015-05-19 14:06:00 +03:00
parent 14d1d8e1dc
commit b1f1360081
12 changed files with 158 additions and 11 deletions
@@ -174,7 +174,7 @@ class PartialBodyResolveFilter(
expression.acceptChildren(this)
if (expression.getOperationToken() == JetTokens.EXCLEXCL) {
addIfCanBeSmartCast(expression.getBaseExpression())
addIfCanBeSmartCast(expression.getBaseExpression() ?: return)
}
}