Partial body resolve: fixed bug

This commit is contained in:
Valentin Kipyatkov
2014-11-18 14:44:35 +03:00
parent e6acc5601c
commit a89c07924d
4 changed files with 17 additions and 1 deletions
@@ -141,7 +141,7 @@ class PartialBodyResolveFilter(elementToResolve: JetElement, private val body: J
}
}
condition.acceptChildren(this)
condition.accept(this)
if (thenBranch != null && elseBranch != null) {
val thenCasts = potentialSmartCastPlaces(thenBranch, filter)