blob: 38b77abab9be2f1d41f20ecbacabfe0e1feff1f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval
object Test extends dotty.runtime.LegacyApp {
reify {
class C(val foo: Int)
println(new C(2).foo)
}.eval
}
|