blob: 66b18c790e4f4ef2af8b0a26f64956f171b7d200 (
plain) (
tree)
|
|
Type in expressions to have them evaluated.
Type :help for more information.
scala>
scala> import scala.reflect.mirror._
import scala.reflect.mirror._
scala> {
val x = 2
val code = reify {
val y = reify { x }
y.eval
}
println(code.eval)
}
<console>:15: this splice cannot be resolved statically
y.eval
^
2
scala>
scala>
|