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 c93aeae commit f811b7bCopy full SHA for f811b7b
compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala
@@ -72,7 +72,7 @@ object SyntaxHighlighting {
72
// Interpolation prefixes are a superset of the keyword start chars
73
val (prefix, after) = remaining.span(interpolationPrefixes.contains)
74
if (after.startsWith("\"")) {
75
- newBuf ++= (n +: prefix)
+ newBuf += n ++= prefix
76
prev = prefix.lastOption.getOrElse(n)
77
if (remaining.nonEmpty) takeChars(prefix.length + 1) // drop 1 for appendLiteral
78
appendString('"', after.startsWith("\"\"\""), true)
0 commit comments