[FIR] Fix forgotten light source element for if expression

This commit is contained in:
Dmitriy Novozhilov
2021-02-04 14:34:05 +03:00
parent 11ab37160e
commit 6469900b5e
@@ -1084,6 +1084,7 @@ class ExpressionsConverter(
}
return buildWhenExpression {
source = ifExpression.toFirSourceElement()
val trueBranch = convertLoopBody(thenBlock)
branches += buildWhenBranch {
source = thenBlock?.toFirSourceElement()