@@ -168,12 +168,12 @@ class ReifyQuotes extends MacroTransform {
168168 * `scala.quoted.Unpickler.unpickleExpr` that matches `tpe` with
169169 * core and splices as arguments.
170170 */
171- override protected def quotation (body : Tree , quote : Tree )(implicit ctx : Context ): Tree = {
171+ override protected def transformQuotation (body : Tree , quote : Tree )(implicit ctx : Context ): Tree = {
172172 val isType = quote.symbol eq defn.QuotedType_apply
173173 assert(! body.symbol.isSplice)
174174 if (level > 0 ) {
175175 val body1 = nested(isQuote = true ).transform(body)(quoteContext)
176- super .quotation (body1, quote)
176+ super .transformQuotation (body1, quote)
177177 }
178178 else body match {
179179 case body : RefTree if isCaptured(body.symbol, level + 1 ) =>
@@ -230,7 +230,7 @@ class ReifyQuotes extends MacroTransform {
230230 * and make a hole from these parts. Otherwise issue an error, unless we
231231 * are in the body of an inline method.
232232 */
233- protected def splice (splice : Select )(implicit ctx : Context ): Tree = {
233+ protected def transformSplice (splice : Select )(implicit ctx : Context ): Tree = {
234234 if (level > 1 ) {
235235 val body1 = nested(isQuote = false ).transform(splice.qualifier)(spliceContext)
236236 body1.select(splice.name)
@@ -357,15 +357,15 @@ class ReifyQuotes extends MacroTransform {
357357 case TypeApply (Select (spliceTree @ Spliced (_), _), tp) if tree.symbol == defn.Any_asInstanceOf =>
358358 // Splice term which should be in the form `x.unary_~.asInstanceOf[T]` where T is an artefact of
359359 // typer to allow pickling/unpickling phase consistent types
360- splice (spliceTree)
360+ transformSplice (spliceTree)
361361
362362 case tree : TypeTree if tree.tpe.typeSymbol.isSplice =>
363363 val splicedType = tree.tpe.stripTypeVar.asInstanceOf [TypeRef ].prefix.termSymbol
364- splice (ref(splicedType).select(tpnme.UNARY_~ ).withSpan(tree.span))
364+ transformSplice (ref(splicedType).select(tpnme.UNARY_~ ).withSpan(tree.span))
365365
366366 case tree : RefTree if isCaptured(tree.symbol, level) =>
367367 val t = capturers(tree.symbol).apply(tree)
368- splice (t.select(if (tree.isTerm) nme.UNARY_~ else tpnme.UNARY_~ ))
368+ transformSplice (t.select(if (tree.isTerm) nme.UNARY_~ else tpnme.UNARY_~ ))
369369
370370 case tree : DefDef if tree.symbol.is(Macro ) && level == 0 =>
371371 // Shrink size of the tree. The methods have already been inlined.
0 commit comments