From 5ac8958a5c9c18159f0940838bbdae34c8c99915 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Sun, 28 Jul 2019 09:28:24 +0200 Subject: [PATCH] Fix extension method while compiling for documentation in CI --- library/src/scala/quoted/Liftable.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/src/scala/quoted/Liftable.scala b/library/src/scala/quoted/Liftable.scala index b350962d140b..c555ddaf8613 100644 --- a/library/src/scala/quoted/Liftable.scala +++ b/library/src/scala/quoted/Liftable.scala @@ -241,7 +241,8 @@ object Liftable { given [H: Type: Liftable, T <: Tuple: Type: Liftable] as Liftable[H *: T] = new { def toExpr(tup: H *: T): given QuoteContext => Expr[H *: T] = - '{ ${tup.head.toExpr} *: ${tup.tail.toExpr} } + '{ ${the[Liftable[H]].toExpr(tup.head)} *: ${the[Liftable[T]].toExpr(tup.tail)} } + // '{ ${tup.head.toExpr} *: ${tup.tail.toExpr} } // TODO figure out why this fails during CI documentation } given as Liftable[BigInt] = new Liftable[BigInt] {