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 26abe45 commit 556c762Copy full SHA for 556c762
src/dotty/tools/dotc/printing/SyntaxHighlighting.scala
@@ -12,7 +12,7 @@ object SyntaxHighlighting {
12
13
implicit class SyntaxFormatting(val sc: StringContext) extends AnyVal {
14
def hl(args: Any*)(implicit ctx: Context): String =
15
- if (ctx.settings.color.value == "never") sc.s(args)
+ if (ctx.settings.color.value == "never") sc.s(args: _*)
16
else sc.s(args.map(x => new String(apply(x.toString).toArray)): _*)
17
}
18
0 commit comments