@@ -57,7 +57,7 @@ final class Extractor[Ctx, Expr[+_], Type[_], -A] private[stringContextParserCom
57
57
val argWithPoss = strings.init.map(x => (((), x._2 + x._1.size)))
58
58
59
59
val input = new Input [Unit , Int ](strings, argWithPoss)
60
- implicit val exprs : UnapplyExprs [IdCtx , Id , ClassTag ] = UnapplyExprs .forId
60
+ implicit val exprs : UnapplyExprs [IdCtx , Id , ClassTag ] = new UnapplyExprs
61
61
62
62
impl.asInstanceOf [internal.Extractor [IdCtx , Id , ClassTag , A ]].extractor(input)(implicitly, implicitly, exprs) match {
63
63
case s: Success [_, _, _] => {
@@ -127,7 +127,7 @@ final class Extractor[Ctx, Expr[+_], Type[_], -A] private[stringContextParserCom
127
127
val args = strings.init.map(x => (((), x._2 + x._1.size)))
128
128
129
129
val input = new Input [Unit , c.universe.Position ](strings, args)
130
- implicit val exprs : UnapplyExprs [c.type , c.Expr , c.TypeTag ] = UnapplyExprs . forContext(c )
130
+ implicit val exprs : UnapplyExprs [c.type , c.Expr , c.TypeTag ] = new UnapplyExprs ()( using typeclass. Exprs . forContext[c. type ] )
131
131
132
132
impl.asInstanceOf [internal.Extractor [c.type , c.Expr , c.TypeTag , A ]].extractor(input)(c, implicitly, exprs) match {
133
133
case s: Success [_, _, _] => {
@@ -185,7 +185,7 @@ final class Extractor[Ctx, Expr[+_], Type[_], -A] private[stringContextParserCom
185
185
val args2 = strings2.init.map(x => (((), x._2 + x._1.size)))
186
186
187
187
val input = new Input [Unit , quotes.reflect.Position ](strings2, args2)
188
- implicit val exprs : UnapplyExprs [quoted.Quotes , quoted.Expr , TypeCreator ] = UnapplyExprs .forQuoted
188
+ implicit val exprs : UnapplyExprs [quoted.Quotes , quoted.Expr , TypeCreator ] = new UnapplyExprs
189
189
190
190
impl.asInstanceOf [internal.Extractor [quoted.Quotes , quoted.Expr , TypeCreator , A ]].extractor(input) match {
191
191
case s: Success [_, _, _] => {
0 commit comments