summaryrefslogtreecommitdiff
path: root/test/files/pos/t7688.scala
blob: 5a846b97e9819970a415969e3ab8a7e3438afda3 (plain) (blame)
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)
}