@@ -146,10 +146,10 @@ class ReifyQuotes extends MacroTransformWithImplicits with InfoTransformer {
146
146
}
147
147
148
148
/** We are in a `~(...)` context that is not shadowed by a nested `'(...)` */
149
- def inSplice = outer != null && ! inQuote
149
+ def inSplice : Boolean = outer != null && ! inQuote
150
150
151
151
/** We are not in a `~(...)` or a `'(...)` */
152
- def isRoot = outer == null
152
+ def isRoot : Boolean = outer == null
153
153
154
154
/** A map from type ref T to expressions of type `quoted.Type[T]`".
155
155
* These will be turned into splices using `addTags` and represent type variables
@@ -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) =>
0 commit comments