Scala 3 has the quoted
package, with quoted.Expr
as a representation of expressions and quoted.Type
as a representation of types. quoted.Type
esentially replaces TypeTag
. It does not have the same API but has similar functionality. It should be easier to use since it integrates well with quoted terms and pattern matching.
2 Likes