5cc8f83c68 ^
814cf34fb0 ^
7b0f0a142b ^
1
2 3
4
5
6
7
8
9
import scala.reflect.macros.blackbox.Context object Impls { def foo(c: Context) = { import c.universe._ val body = Literal(Constant(2)) c.Expr[Int](body) } }