1 2 3 4 5 6
case class X(s: String) object Test extends dotty.runtime.LegacyApp { import scala.reflect.runtime.universe._ println(typeOf[X]) }