Closed
Description
When a higher-kinded type S
is used in quote/splice, do we need an evidence of Type[S]
or Type[S[X]]
? Neither type checks.
import scala.quoted._
import scala.tasty._
class MatchFactory1[T, S[_]]
object MatcherFactory1 {
def impl[T: Type, S[_]](self: Expr[MatchFactory1[T, S]])(implicit refl: Reflection, tpS: Type[S[T]]) =
'{ ~self }
}