1 2 3 4 5 6 7 8 9 10 11 12
import scala.reflect.runtime.universe._ import scala.reflect.runtime.{currentMirror => cm} class C class D { self: C => } object Test extends dotty.runtime.LegacyApp { val d = cm.staticClass("D") println(d.selfType) d.info println(d.selfType) }