1 2 3 4 5 6 7 8 9 10
import scala.reflect.runtime.universe._ import scala.tools.reflect.Eval object Test extends dotty.runtime.LegacyApp { reify { class C val product = List(new C, new C).length * List[C](new C, new C).length println(product) }.eval }