@@ -129,13 +129,13 @@ class ReifyQuotes extends MacroTransform {
129129
130130 def mkTagSymbolAndAssignType (spliced : TermRef ): TypeDef = {
131131 val splicedTree = tpd.ref(spliced)
132- val rhs = transform(splicedTree.select(tpnme.UNARY_~ ))
132+ val rhs = transform(splicedTree.select(tpnme.splice ))
133133 val alias = ctx.typeAssigner.assignType(untpd.TypeBoundsTree (rhs, rhs), rhs, rhs)
134134 val local = ctx.newSymbol(
135135 owner = ctx.owner,
136136 name = UniqueName .fresh((splicedTree.symbol.name.toString + " $_~" ).toTermName).toTypeName,
137137 flags = Synthetic ,
138- info = TypeAlias (splicedTree.tpe.select(tpnme.UNARY_~ )),
138+ info = TypeAlias (splicedTree.tpe.select(tpnme.splice )),
139139 coord = spliced.termSymbol.coord).asType
140140
141141 ctx.typeAssigner.assignType(untpd.TypeDef (local.name, alias), local)
@@ -353,11 +353,11 @@ class ReifyQuotes extends MacroTransform {
353353
354354 case tree : TypeTree if tree.tpe.typeSymbol.isSplice =>
355355 val splicedType = tree.tpe.stripTypeVar.asInstanceOf [TypeRef ].prefix.termSymbol
356- transformSplice(ref(splicedType).select(tpnme.UNARY_~ ).withSpan(tree.span))
356+ transformSplice(ref(splicedType).select(tpnme.splice ).withSpan(tree.span))
357357
358358 case tree : RefTree if isCaptured(tree.symbol, level) =>
359359 val t = capturers(tree.symbol).apply(tree)
360- transformSplice(t.select(if (tree.isTerm) nme.UNARY_~ else tpnme.UNARY_~ ))
360+ transformSplice(t.select(if (tree.isTerm) nme.splice else tpnme.splice ))
361361
362362 case tree : DefDef if tree.symbol.is(Macro ) && level == 0 =>
363363 // Shrink size of the tree. The methods have already been inlined.
0 commit comments