Skip to content

Commit 24feac1

Browse files
committed
Change to new Liftable design.
1 parent 52ad606 commit 24feac1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/neg/BigFloat/BigFloat_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ object BigFloat extends App {
5959
// Should be in StdLib:
6060

6161
given as Liftable[BigInt] {
62-
def toExpr(x: BigInt) given (qctx: QuoteContext): Expr[BigInt] =
62+
def toExpr(x: BigInt) =
6363
'{BigInt(${x.toString.toExpr})}
6464
}
6565
}

tests/run/BigFloat/BigFloat_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ object BigFloat extends App {
5959
// Should be in StdLib:
6060

6161
given as Liftable[BigInt] {
62-
def toExpr(x: BigInt) given (qctx: QuoteContext): Expr[BigInt] =
62+
def toExpr(x: BigInt) =
6363
'{BigInt(${x.toString.toExpr})}
6464
}
6565
}

0 commit comments

Comments
 (0)