Skip to content

Commit eaddda9

Browse files
fixup! Fix #6570: Don't reduce MT with empty scrutinies
1 parent f37fbc3 commit eaddda9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-staging/staged-tuples/StagedTuple.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ object StagedTuple {
7979
}
8080

8181
def headStaged[Tup <: NonEmptyTuple : Type](tup: Expr[Tup], size: Option[Int])(given QuoteContext): Expr[Head[Tup]] = {
82-
if (!specialize) '{dynamicApply($tup, 0)}
82+
if (!specialize) '{dynamicApply[Tup, 0]($tup, 0)}
8383
else {
8484
val resVal = size match {
8585
case Some(1) =>

0 commit comments

Comments
 (0)