Skip to content

Commit 8374c4d

Browse files
committed
Shorter names for quotation tags
1 parent 9dfb215 commit 8374c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/ReifyQuotes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class ReifyQuotes extends MacroTransform {
133133
val alias = ctx.typeAssigner.assignType(untpd.TypeBoundsTree(rhs, rhs), rhs, rhs)
134134
val local = ctx.newSymbol(
135135
owner = ctx.owner,
136-
name = UniqueName.fresh((splicedTree.symbol.name.toString + "$" + nme.UNARY_~).toTermName).toTypeName,
136+
name = UniqueName.fresh((splicedTree.symbol.name.toString + "$_~").toTermName).toTypeName,
137137
flags = Synthetic,
138138
info = TypeAlias(splicedTree.tpe.select(tpnme.UNARY_~)),
139139
coord = spliced.termSymbol.coord).asType

0 commit comments

Comments
 (0)