Skip to content

Commit 5ac8958

Browse files
committed
Fix extension method while compiling for documentation in CI
1 parent 32400b2 commit 5ac8958

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/src/scala/quoted/Liftable.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ object Liftable {
241241

242242
given [H: Type: Liftable, T <: Tuple: Type: Liftable] as Liftable[H *: T] = new {
243243
def toExpr(tup: H *: T): given QuoteContext => Expr[H *: T] =
244-
'{ ${tup.head.toExpr} *: ${tup.tail.toExpr} }
244+
'{ ${the[Liftable[H]].toExpr(tup.head)} *: ${the[Liftable[T]].toExpr(tup.tail)} }
245+
// '{ ${tup.head.toExpr} *: ${tup.tail.toExpr} } // TODO figure out why this fails during CI documentation
245246
}
246247

247248
given as Liftable[BigInt] = new Liftable[BigInt] {

0 commit comments

Comments
 (0)