9ef5f6817 ^
1 2 3 4 5 6 7
import scala.reflect.macros._ class A[C <: Context with Singleton](position: C#Position) object A { def apply(c: Context)(in: c.Tree): A[c.type] = new A(in.pos) }