blob: c76efce27a91542acfc2d1e464e65fae670679a5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import scala.reflect.mirror._
object Test extends App {
{
val x = 42
def foo() = reify(reify(x));
{
val x = 2
val code1 = foo()
val code2 = code1.eval
println(code2.eval)
}
}
}
|