summaryrefslogblamecommitdiff
path: root/test/files/run/macro-def-path-dependent/Test_2.scala
blob: c884ab9d0bf5bb1e21f1e421434b80635ec91810 (plain) (tree)
1
2
3

             
                                                    












                                            
                                                       




                                                                                                               
package test2

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

trait Exprs {
  self: Universe =>

  class Expr[T]
}

trait Reifiers {
  self: Universe =>

}

trait Universe extends Exprs with Reifiers {
  def reify[T](expr: T): Expr[T] = macro Impls.reify[T]
}

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