blob: 531bc76fe40a1a441a1823d83a26235a8ff54e61 (
plain) (
tree)
|
|
import scala.reflect.runtime.universe._
import scala.tools.reflect.ToolBox
import scala.tools.reflect.Eval
object Test extends dotty.runtime.LegacyApp {
{
val code = reify {
val x = 2
reify{x}.eval
}
println(code.eval)
}
}
|