What is the replacement in scala3 of scala2's `ClassTag <:<`?

Depending on what your use case is exactly, using Scala 3 macros directly can also be the way to go instead. For instance consider: Obtaining the name of a type (Scala 3) - #6 by hmf

I’m myself going through that for my library, and I have been able to replace most of my former reliance on scala.reflect.runtime with scala.quoted counterparts (e.g utilities that were in this, the result of which I’ll post soon)

1 Like