Temporary fix to compile project with the snapshot compiler

The problem is in NI and can relate to a236ad5686
This commit is contained in:
Mikhail Zarechenskiy
2019-02-18 11:45:02 +03:00
parent 45f028d353
commit acb83f1af1
@@ -360,8 +360,8 @@ private class IrUnboundSymbolReplacer(
override fun visitBlock(expression: IrBlock): IrExpression {
if (expression is IrReturnableBlock) {
returnTargetStack.push(expression.symbol)
try {
return super.visitBlock(expression)
return try {
super.visitBlock(expression)
} finally {
returnTargetStack.pop()
}