Skip to content

Commit 806ed22

Browse files
committed
Add missing QuoteContext
1 parent ac9660a commit 806ed22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pos/i7358.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package test
33
import scala.quoted._
44
import scala.compiletime._
55

6-
inline def summonT[Tp <: Tuple] <: Tuple = inline erasedValue[Tp] match {
6+
inline def summonT[Tp <: Tuple](given QuoteContext) <: Tuple = inline erasedValue[Tp] match {
77
case _ : Unit => ()
88
case _ : (hd *: tl) => {
99
type H = hd
@@ -13,4 +13,4 @@ inline def summonT[Tp <: Tuple] <: Tuple = inline erasedValue[Tp] match {
1313
}
1414
}
1515

16-
def test[T : Type] = summonT[Tuple1[List[T]]]
16+
def test[T : Type](given QuoteContext) = summonT[Tuple1[List[T]]]

0 commit comments

Comments
 (0)