Fix try catch rendering in html fir dump

This commit is contained in:
Simon Ogorodnik
2019-05-15 15:42:54 +03:00
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 {