We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aa00a7 commit 908ed90Copy full SHA for 908ed90
compiler/src/dotty/tools/dotc/printing/Formatting.scala
@@ -80,9 +80,8 @@ object Formatting {
80
hl.show
81
case hb: HighlightBuffer =>
82
hb.toString
83
- case str: String =>
84
- SyntaxHighlighting.highlight(str)
85
- case _ => super.showArg(arg)
+ case _ =>
+ SyntaxHighlighting.highlight(super.showArg(arg))
86
}
87
88
0 commit comments