Skip to content

Commit 0b7f280

Browse files
committed
Fix issues with null safety
1 parent c4ef40f commit 0b7f280

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/scala/quoted/runtime/impl/printers/SourceCode.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,8 +1451,8 @@ object SourceCode {
14511451
private def escapedChar(ch: Char): String =
14521452
if requiresFormat(ch) then
14531453
val b = StringBuilder().append(qc)
1454-
escapedChar(b, ch)
1455-
b.append(qc).toString
1454+
escapedChar(b.nn, ch)
1455+
b.nn.append(qc).toString
14561456
else
14571457
qc + ch + qc
14581458

0 commit comments

Comments
 (0)