Skip to content

Commit ceebc33

Browse files
committed
Replace given -> using
1 parent 2b3a127 commit ceebc33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/run-macros/quote-matcher-runtime/quoted_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ object Macros {
99
private def impl[A, B](a: Expr[A], b: Expr[B])(using qctx: QuoteContext) : Expr[Unit] = {
1010
import qctx.tasty.{Bind => _, given, _}
1111

12-
val res = scala.internal.quoted.Expr.unapply[Tuple, Tuple](a)(given b, true, qctx).map { tup =>
12+
val res = scala.internal.quoted.Expr.unapply[Tuple, Tuple](a)(using b, true, qctx).map { tup =>
1313
tup.toArray.toList.map {
1414
case r: Expr[_] =>
1515
s"Expr(${r.unseal.show})"

tests/run-macros/quote-type-matcher/quoted_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ object Macros {
99
private def matchesExpr[A, B](a: Type[A], b: Type[B])(using qctx: QuoteContext) : Expr[Unit] = {
1010
import qctx.tasty.{Bind => _, given, _}
1111

12-
val res = scala.internal.quoted.Type.unapply[Tuple, Tuple](a)(given b, true, qctx).map { tup =>
12+
val res = scala.internal.quoted.Type.unapply[Tuple, Tuple](a)(using b, true, qctx).map { tup =>
1313
tup.toArray.toList.map {
1414
case r: quoted.Type[_] =>
1515
s"Type(${r.unseal.show})"

0 commit comments

Comments
 (0)