[IR] KotlinLikeDumper: replace all usages of commentBlockH with commentBlock

This commit is contained in:
Zalim Bashorov
2020-11-17 02:59:37 +03:00
committed by teamcityserver
parent ad0f154ed1
commit 36591ba5f7
@@ -436,7 +436,7 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
p.printIndent()
// TODO no tests, looks like there are no irText tests for isStatic flag
p(declaration.isStatic, commentBlockH("static"))
p(declaration.isStatic, commentBlock("static"))
p.printWithNoIndent("init ")
declaration.body.accept(this, declaration)
@@ -491,7 +491,7 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
declaration.printValueParametersWithNoIndent()
declaration.printWhereClauseIfNeededWithNoIndent()
p.printWithNoIndent(" ")
p(declaration.isPrimary, commentBlockH("primary"))
p(declaration.isPrimary, commentBlock("primary"))
declaration.body?.accept(this, declaration)
p.printlnWithNoIndent()
}
@@ -1383,8 +1383,6 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
private fun commentBlock(text: String) = "/* $text */"
private fun commentBlockH(text: String) = "/* $text */"
private companion object {
private const val INAPPLICABLE = false
private val INAPPLICABLE_N = null