Skip to content

Commit 7fd019e

Browse files
Remove ad hoc code coloring
1 parent 4790d75 commit 7fd019e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/src/dotty/tools/dotc/decompiler/DecompilationPrinter.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ class DecompilationPrinter extends Phase {
2424
println(unit.source)
2525
println(line)
2626

27-
val code = unit.tpdTree.show
28-
println(if (ctx.useColors) printing.SyntaxHighlighting(code) else code)
27+
println(unit.tpdTree.show)
2928
println(line)
3029
}
3130
}

0 commit comments

Comments
 (0)