@@ -156,7 +156,7 @@ object Matcher {
156156 // that we have found and seal them in a quoted.Type
157157 matchings.asOptionOfTuple.map { tup =>
158158 Tuple .fromArray(tup.toArray.map { // TODO improve performance
159- case x : SymBinding => qctx.tasty.Constraints_approximation (summon[ Context ])( x.sym, ! x.fromAbove).seal
159+ case x : SymBinding => qctx.tasty.Constraints_approximation (x.sym, ! x.fromAbove).seal
160160 case x => x
161161 })
162162 }
@@ -173,7 +173,7 @@ object Matcher {
173173 // that we have found and seal them in a quoted.Type
174174 matchings.asOptionOfTuple.map { tup =>
175175 Tuple .fromArray(tup.toArray.map { // TODO improve performance
176- case x : SymBinding => qctx.tasty.Constraints_approximation (summon[ Context ])( x.sym, ! x.fromAbove).seal
176+ case x : SymBinding => qctx.tasty.Constraints_approximation (x.sym, ! x.fromAbove).seal
177177 case x => x
178178 })
179179 }
@@ -318,7 +318,7 @@ object Matcher {
318318 fn1 =?= fn2 &&& args1 =?= args2
319319
320320 case (Block (stats1, expr1), Block (binding :: stats2, expr2)) if isTypeBinding(binding) =>
321- qctx.tasty.Constraints_add (summon[ Context ])( binding.symbol :: Nil )
321+ qctx.tasty.Constraints_add (binding.symbol :: Nil )
322322 matched(new SymBinding (binding.symbol, hasFromAboveAnnotation(binding.symbol))) &&& Block (stats1, expr1) =?= Block (stats2, expr2)
323323
324324 /* Match block */
@@ -335,7 +335,7 @@ object Matcher {
335335
336336 case (scrutinee, Block (typeBindings, expr2)) if typeBindings.forall(isTypeBinding) =>
337337 val bindingSymbols = typeBindings.map(_.symbol)
338- qctx.tasty.Constraints_add (summon[ Context ])( bindingSymbols)
338+ qctx.tasty.Constraints_add (bindingSymbols)
339339 bindingSymbols.foldRight(scrutinee =?= expr2)((x, acc) => matched(new SymBinding (x, hasFromAboveAnnotation(x))) &&& acc)
340340
341341 /* Match if */
0 commit comments