Skip to content

Commit 6e861b2

Browse files
Add missing toExpr
1 parent 7458842 commit 6e861b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/run-with-compiler/quote-lib.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ package liftable {
118118

119119
object Arrays {
120120
implicit def ArrayIsLiftable[T: Liftable](implicit t: Type[T], ct: Expr[ClassTag[T]]): Liftable[Array[T]] = (arr: Array[T]) => '{
121-
new Array[~t](~(arr.length: Expr[Int]))(~ct)
121+
new Array[~t](~arr.length.toExpr)(~ct)
122122
}
123123
}
124124

125125
}
126-
}
126+
}

0 commit comments

Comments
 (0)