diff --git a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/phaser/PhaseConfig.kt b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/phaser/PhaseConfig.kt index 6f1b7a64968..c3ba99bc077 100644 --- a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/phaser/PhaseConfig.kt +++ b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/phaser/PhaseConfig.kt @@ -93,10 +93,14 @@ class PhaseConfig( fun list() { compoundPhase.getNamedSubphases().forEach { (depth, phase) -> - val enabled = if (phase in enabled) "(Enabled)" else "" - val verbose = if (phase in verbose) "(Verbose)" else "" + val disabled = if (phase !in enabled) " (Disabled)" else "" + val verbose = if (phase in verbose) " (Verbose)" else "" - println(String.format("%1$-50s %2$-50s %3$-10s", "${" ".repeat(depth)}${phase.name}:", phase.description, "$enabled $verbose")) + println( + "%1$-50s %2$-50s %3$-10s".format( + "${" ".repeat(depth)}${phase.name}", phase.description, "$disabled$verbose" + ) + ) } }