Skip to content

Commit c288c38

Browse files
committed
cleanup
1 parent 3aefb59 commit c288c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/parsing/Scanners.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1385,7 +1385,7 @@ object Scanners {
13851385
getInterpolatedIdentRest(hasSupplement = true)
13861386
false // don't continue, identifier rest handles it
13871387
else
1388-
val escapeDesc = if escapeChar == '"' then "`$\"\"`, " else "`$'`, "
1388+
val escapeDesc = if escapeChar == '"' then "`$\"`, " else "`$'`, "
13891389
error(s"invalid string interpolation: `$$$$`, $escapeDesc`$$`ident or `$$`BlockExpr expected".toMessage, off = charOffset - 2)
13901390
putChar('$')
13911391
true // continue parsing after error

0 commit comments

Comments
 (0)