diff --git a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/KotlinLikeDumper.kt b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/KotlinLikeDumper.kt index cfce8015a99..12f0d3fe34a 100644 --- a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/KotlinLikeDumper.kt +++ b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/KotlinLikeDumper.kt @@ -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