[FIR] Fix forgotten light source element for if expression
This commit is contained in:
+1
@@ -1084,6 +1084,7 @@ class ExpressionsConverter(
|
|||||||
}
|
}
|
||||||
|
|
||||||
return buildWhenExpression {
|
return buildWhenExpression {
|
||||||
|
source = ifExpression.toFirSourceElement()
|
||||||
val trueBranch = convertLoopBody(thenBlock)
|
val trueBranch = convertLoopBody(thenBlock)
|
||||||
branches += buildWhenBranch {
|
branches += buildWhenBranch {
|
||||||
source = thenBlock?.toFirSourceElement()
|
source = thenBlock?.toFirSourceElement()
|
||||||
|
|||||||
Reference in New Issue
Block a user