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 {
683
683
def Unpickler_unpickleType = ctx.requiredMethod(" scala.runtime.quoted.Unpickler.unpickleType" )
684
684
685
685
lazy val TastyTopLevelSpliceModule = ctx.requiredModule(" scala.tasty.TopLevelSplice" )
686
- lazy val TastyTopLevelSplice_compilationTopLevelSplice = TastyTopLevelSpliceModule .requiredMethod(" tastyContext " )
686
+ lazy val TastyTopLevelSplice_tastyContext = TastyTopLevelSpliceModule .requiredMethod(" i2TastyTopLevelSplice_tastyContext " )
687
687
688
688
lazy val EqType = ctx.requiredClassRef(" scala.Eq" )
689
689
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 {
516
516
outer.enteredSyms.foreach(registerCapturer)
517
517
518
518
if (ctx.owner.owner.is(Macro )) {
519
- registerCapturer(defn.TastyTopLevelSplice_compilationTopLevelSplice )
519
+ registerCapturer(defn.TastyTopLevelSplice_tastyContext )
520
520
// Force a macro to have the context in first position
521
- forceCapture(defn.TastyTopLevelSplice_compilationTopLevelSplice )
521
+ forceCapture(defn.TastyTopLevelSplice_tastyContext )
522
522
// Force all parameters of the macro to be created in the definition order
523
523
outer.enteredSyms.reverse.foreach(forceCapture)
524
524
}
@@ -652,7 +652,7 @@ class ReifyQuotes extends MacroTransformWithImplicits with InfoTransformer {
652
652
653
653
private def isStage0Value (sym : Symbol )(implicit ctx : Context ): Boolean =
654
654
(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
656
656
657
657
private def liftList (list : List [Tree ], tpe : Type )(implicit ctx : Context ): Tree = {
658
658
list.foldRight[Tree ](ref(defn.NilModule )) { (x, acc) =>
You can’t perform that action at this time.
0 commit comments