[IR] KotlinLikeDumper: print a parameter in catch
This commit is contained in:
committed by
teamcityserver
parent
5c8a93c7ff
commit
2775c89ebb
@@ -1183,7 +1183,13 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun visitCatch(aCatch: IrCatch, data: IrDeclaration?) {
|
override fun visitCatch(aCatch: IrCatch, data: IrDeclaration?) {
|
||||||
p.print("catch (...) ")
|
p.print("catch (")
|
||||||
|
aCatch.catchParameter.run {
|
||||||
|
p.printWithNoIndent(name.asString())
|
||||||
|
p.printWithNoIndent(": ")
|
||||||
|
type.printTypeWithNoIndent()
|
||||||
|
}
|
||||||
|
p.printWithNoIndent(")")
|
||||||
aCatch.result.accept(this, data)
|
aCatch.result.accept(this, data)
|
||||||
p.printlnWithNoIndent()
|
p.printlnWithNoIndent()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user