@@ -142,7 +142,7 @@ object Matcher {
142142 fn1 =#= fn2 && args1 =##= args2
143143
144144 case (Block (stats1, expr1), Block (binding :: stats2, expr2)) if isTypeBinding(binding) =>
145- reflection .kernel.Context_GADT_addToConstraint (the[Context ])(binding.symbol :: Nil )
145+ qctx.tasty .kernel.Context_GADT_addToConstraint (the[Context ])(binding.symbol :: Nil )
146146 matched(new SymBinding (binding.symbol)) && Block (stats1, expr1) =#= Block (stats2, expr2)
147147
148148 case (Block (stat1 :: stats1, expr1), Block (stat2 :: stats2, expr2)) =>
@@ -152,7 +152,7 @@ object Matcher {
152152
153153 case (scrutinee, Block (typeBindings, expr2)) if typeBindings.forall(isTypeBinding) =>
154154 val bindingSymbols = typeBindings.map(_.symbol)
155- reflection .kernel.Context_GADT_addToConstraint (the[Context ])(bindingSymbols)
155+ qctx.tasty .kernel.Context_GADT_addToConstraint (the[Context ])(bindingSymbols)
156156 bindingSymbols.foldRight(scrutinee =#= expr2)((x, acc) => matched(new SymBinding (x)) && acc)
157157
158158 case (If (cond1, thenp1, elsep1), If (cond2, thenp2, elsep2)) =>
@@ -336,7 +336,7 @@ object Matcher {
336336
337337 val res = {
338338 if (hasTypeSplices) {
339- implicit val ctx : Context = reflection .kernel.Context_GADT_setFreshGADTBounds (rootContext)
339+ implicit val ctx : Context = qctx.tasty .kernel.Context_GADT_setFreshGADTBounds (rootContext)
340340 val matchings = scrutineeExpr.unseal.underlyingArgument =#= patternExpr.unseal.underlyingArgument
341341 // After matching and doing all subtype check, we have to aproximate all the type bindings
342342 // that we have found and seal them in a quoted.Type
0 commit comments