[IR] KotlinLikeDumper: replace all usages of commentBlockH with commentBlock
This commit is contained in:
committed by
teamcityserver
parent
ad0f154ed1
commit
36591ba5f7
@@ -436,7 +436,7 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
|||||||
p.printIndent()
|
p.printIndent()
|
||||||
|
|
||||||
// TODO no tests, looks like there are no irText tests for isStatic flag
|
// 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 ")
|
p.printWithNoIndent("init ")
|
||||||
declaration.body.accept(this, declaration)
|
declaration.body.accept(this, declaration)
|
||||||
|
|
||||||
@@ -491,7 +491,7 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
|||||||
declaration.printValueParametersWithNoIndent()
|
declaration.printValueParametersWithNoIndent()
|
||||||
declaration.printWhereClauseIfNeededWithNoIndent()
|
declaration.printWhereClauseIfNeededWithNoIndent()
|
||||||
p.printWithNoIndent(" ")
|
p.printWithNoIndent(" ")
|
||||||
p(declaration.isPrimary, commentBlockH("primary"))
|
p(declaration.isPrimary, commentBlock("primary"))
|
||||||
declaration.body?.accept(this, declaration)
|
declaration.body?.accept(this, declaration)
|
||||||
p.printlnWithNoIndent()
|
p.printlnWithNoIndent()
|
||||||
}
|
}
|
||||||
@@ -1383,8 +1383,6 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
|||||||
|
|
||||||
private fun commentBlock(text: String) = "/* $text */"
|
private fun commentBlock(text: String) = "/* $text */"
|
||||||
|
|
||||||
private fun commentBlockH(text: String) = "/* $text */"
|
|
||||||
|
|
||||||
private companion object {
|
private companion object {
|
||||||
private const val INAPPLICABLE = false
|
private const val INAPPLICABLE = false
|
||||||
private val INAPPLICABLE_N = null
|
private val INAPPLICABLE_N = null
|
||||||
|
|||||||
Reference in New Issue
Block a user