@@ -55,9 +55,9 @@ object PickledQuotes {
55
55
/** Unpickle the tree contained in the TastyExpr */
56
56
def unpickleTerm (pickled : String | List [String ], typeHole : (Int , Seq [Any ]) => scala.quoted.Type [? ], termHole : (Int , Seq [Any ], scala.quoted.Quotes ) => scala.quoted.Expr [? ])(using Context ): Tree = {
57
57
val unpickled = withMode(Mode .ReadPositions )(unpickle(pickled, isType = false ))
58
- val Inlined (call, Nil , expnasion ) = unpickled
58
+ val Inlined (call, Nil , expansion0 ) = unpickled
59
59
val inlineCtx = inlineContext(call)
60
- val expansion1 = spliceTypes(expnasion , typeHole, termHole)(using inlineCtx)
60
+ val expansion1 = spliceTypes(expansion0 , typeHole, termHole)(using inlineCtx)
61
61
val expansion2 = spliceTerms(expansion1, typeHole, termHole)(using inlineCtx)
62
62
cpy.Inlined (unpickled)(call, Nil , expansion2)
63
63
}
@@ -75,7 +75,7 @@ object PickledQuotes {
75
75
case Hole (isTerm, idx, args) =>
76
76
inContext(SpliceScope .contextWithNewSpliceScope(tree.sourcePos)) {
77
77
val reifiedArgs = args.map { arg =>
78
- if (arg.isTerm) ( q : Quotes ) ?=> new ExprImpl (arg, SpliceScope .getCurrent)
78
+ if (arg.isTerm) new ExprImpl (arg, SpliceScope .getCurrent)
79
79
else new TypeImpl (arg, SpliceScope .getCurrent)
80
80
}
81
81
if isTerm then
0 commit comments