Fixed NPE

This commit is contained in:
Valentin Kipyatkov
2014-11-21 22:11:15 +03:00
parent f29e2788cb
commit 95042a729f
@@ -198,7 +198,7 @@ class PartialBodyResolveFilter(
}
}
condition.accept(this)
condition?.accept(this)
if (thenBranch != null && elseBranch != null) {
val thenCasts = potentialSmartCastPlaces(thenBranch, filter)