Fix try catch rendering in html fir dump
This commit is contained in:
committed by
Mikhail Glukhikh
parent
9398addb9d
commit
58fd62fd49
@@ -1035,7 +1035,6 @@ class HtmlFirDump internal constructor(private var linkResolver: FirLinkResolver
|
|||||||
iline {
|
iline {
|
||||||
keyword("try ")
|
keyword("try ")
|
||||||
generateBlockIfAny(tryExpression.tryBlock)
|
generateBlockIfAny(tryExpression.tryBlock)
|
||||||
}
|
|
||||||
|
|
||||||
for (catch in tryExpression.catches) {
|
for (catch in tryExpression.catches) {
|
||||||
keyword(" catch ")
|
keyword(" catch ")
|
||||||
@@ -1051,6 +1050,7 @@ class HtmlFirDump internal constructor(private var linkResolver: FirLinkResolver
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private fun FlowContent.generate(whileLoop: FirWhileLoop) {
|
private fun FlowContent.generate(whileLoop: FirWhileLoop) {
|
||||||
iline {
|
iline {
|
||||||
|
|||||||
Reference in New Issue
Block a user