ir.tree: fix IrTry.transformChildren:
transform `finallyExpression` too.
This commit is contained in:
@@ -58,6 +58,7 @@ class IrTryImpl(startOffset: Int, endOffset: Int, type: KotlinType) :
|
|||||||
catches.forEachIndexed { i, irCatch ->
|
catches.forEachIndexed { i, irCatch ->
|
||||||
catches[i] = irCatch.transform(transformer, data)
|
catches[i] = irCatch.transform(transformer, data)
|
||||||
}
|
}
|
||||||
|
finallyExpression = finallyExpression?.transform(transformer, data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user