@@ -83,7 +83,7 @@ class ReifyQuotes extends MacroTransformWithImplicits {
8383 if (ctx.compilationUnit.needsStaging) super .run
8484
8585 protected def newTransformer (implicit ctx : Context ): Transformer =
86- new Reifier (inQuote = false , null , 0 , new LevelInfo , new Embedded , ctx)
86+ new Reifier (inQuote = false , null , new LevelInfo , new Embedded , ctx)
8787
8888 private class LevelInfo {
8989 /** A map from locally defined symbols to the staging levels of their definitions */
@@ -115,14 +115,14 @@ class ReifyQuotes extends MacroTransformWithImplicits {
115115 * @param embedded a list of embedded quotes (if `inSplice = true`) or splices (if `inQuote = true`
116116 * @param rctx the contex in the destination lifted lambda
117117 */
118- private class Reifier (inQuote : Boolean , val outer : Reifier , val level : Int , levels : LevelInfo ,
118+ private class Reifier (inQuote : Boolean , val outer : Reifier , levels : LevelInfo ,
119119 val embedded : Embedded , val rctx : Context ) extends ImplicitsTransformer {
120120 import levels ._
121121
122122 /** A nested reifier for a quote (if `isQuote = true`) or a splice (if not) */
123123 def nested (isQuote : Boolean )(implicit ctx : Context ): Reifier = {
124124 val nestedEmbedded = if (quotationLevel > 1 || (quotationLevel == 1 && isQuote)) embedded else new Embedded
125- new Reifier (isQuote, this , if (isQuote) quotationLevel + 1 else quotationLevel - 1 , levels, nestedEmbedded, ctx)
125+ new Reifier (isQuote, this , levels, nestedEmbedded, ctx)
126126 }
127127
128128 /** We are not in a `~(...)` or a `'(...)` */
0 commit comments