blob: 5fd94f4a2ba1b9f362762e1ffe71f5e63b66a72b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import scala.reflect.mirror._
object Test extends App {
val code = reify {
object C { def qwe = 4 }
case class C(foo: Int, bar: Int)
val c = C(2, 2)
println(c.foo * c.bar == C.qwe)
};
val toolbox = mkToolBox()
println(code.tree)
}
|