Skip to content

Commit 0caecac

Browse files
committed
Use nme.UNARY_~ directly
1 parent 506e1ea commit 0caecac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/ast/Desugar.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -1319,9 +1319,9 @@ object desugar {
13191319
else
13201320
Apply(ref(defn.QuotedExpr_applyR), t)
13211321
case Splice(expr) =>
1322-
Select(expr, nme.UNARY_PREFIX ++ nme.raw.TILDE)
1322+
Select(expr, nme.UNARY_~)
13231323
case TypSplice(expr) =>
1324-
Select(expr, tpnme.UNARY_PREFIX ++ nme.raw.TILDE)
1324+
Select(expr, tpnme.UNARY_~)
13251325
case InterpolatedString(id, segments) =>
13261326
val strs = segments map {
13271327
case ts: Thicket => ts.trees.head

0 commit comments

Comments
 (0)