From ccf2941f4a8432a68ec2fb589a2a938653fbe46e Mon Sep 17 00:00:00 2001 From: Martin Petrov Date: Sat, 27 Apr 2019 14:56:44 -0400 Subject: [PATCH] Use spaces instead of tabs to indent -Xlist-phases. In Terminal.app and xterm the output columns get misaligned when using tabs. Tabbed output only renders correctly when `tabstop=1`. --- .../org/jetbrains/kotlin/backend/common/phaser/PhaseConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 363c7a0b990..61f314df53a 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 @@ -42,7 +42,7 @@ class PhaseConfig( val enabled = if (phase in enabled) "(Enabled)" else "" val verbose = if (phase in verbose) "(Verbose)" else "" - println(String.format("%1$-50s %2$-50s %3$-10s", "${"\t".repeat(depth)}${phase.name}:", phase.description, "$enabled $verbose")) + println(String.format("%1$-50s %2$-50s %3$-10s", "${" ".repeat(depth)}${phase.name}:", phase.description, "$enabled $verbose")) } }