summaryrefslogblamecommitdiff
path: root/test/files/run/macro-def-path-dependent-a/Impls_Macros_1.scala
blob: 3a91e41ff9850faab4654f123018ee591db73239 (plain) (tree)
1
                                            



















                                                                                                               
import scala.reflect.macros.{Context => Ctx}

trait Exprs {
  self: Universe =>

  class Expr[T]
}

trait Reifiers {
  self: Universe =>

  type Expr[T]

  def reify[T](expr: T) = macro Impls.reify[T]
}

trait Universe extends Exprs with Reifiers

object Impls {
  def reify[T](cc: Ctx{ type PrefixType = Reifiers })(expr: cc.Expr[T]): cc.Expr[cc.prefix.value.Expr[T]] = ???
}