File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -683,7 +683,7 @@ class Definitions {
683683 def Unpickler_unpickleType = ctx.requiredMethod(" scala.runtime.quoted.Unpickler.unpickleType" )
684684
685685 lazy val TastyTopLevelSpliceModule = ctx.requiredModule(" scala.tasty.TopLevelSplice" )
686- lazy val TastyTopLevelSplice_compilationTopLevelSplice = TastyTopLevelSpliceModule .requiredMethod(" tastyContext" )
686+ lazy val TastyTopLevelSplice_tastyContext = TastyTopLevelSpliceModule .requiredMethod(" tastyContext" )
687687
688688 lazy val EqType = ctx.requiredClassRef(" scala.Eq" )
689689 def EqClass (implicit ctx : Context ) = EqType .symbol.asClass
Original file line number Diff line number Diff line change @@ -516,9 +516,9 @@ class ReifyQuotes extends MacroTransformWithImplicits with InfoTransformer {
516516 outer.enteredSyms.foreach(registerCapturer)
517517
518518 if (ctx.owner.owner.is(Macro )) {
519- registerCapturer(defn.TastyTopLevelSplice_compilationTopLevelSplice )
519+ registerCapturer(defn.TastyTopLevelSplice_tastyContext )
520520 // Force a macro to have the context in first position
521- forceCapture(defn.TastyTopLevelSplice_compilationTopLevelSplice )
521+ forceCapture(defn.TastyTopLevelSplice_tastyContext )
522522 // Force all parameters of the macro to be created in the definition order
523523 outer.enteredSyms.reverse.foreach(forceCapture)
524524 }
@@ -652,7 +652,7 @@ class ReifyQuotes extends MacroTransformWithImplicits with InfoTransformer {
652652
653653 private def isStage0Value (sym : Symbol )(implicit ctx : Context ): Boolean =
654654 (sym.is(Inline ) && sym.owner.is(Macro ) && ! defn.isFunctionType(sym.info)) ||
655- sym == defn.TastyTopLevelSplice_compilationTopLevelSplice // intrinsic value at stage 0
655+ sym == defn.TastyTopLevelSplice_tastyContext // intrinsic value at stage 0
656656
657657 private def liftList (list : List [Tree ], tpe : Type )(implicit ctx : Context ): Tree = {
658658 list.foldRight[Tree ](ref(defn.NilModule )) { (x, acc) =>
You can’t perform that action at this time.
0 commit comments