summaryrefslogblamecommitdiff
path: root/test/pending/run/macro-reify-tagless-b/Impls_Macros_1.scala
blob: a581c470265f5b368082bdb067171347d9268bf3 (plain) (tree)
1
2
3
4
5
6
7
8
                                            




                                             
                                                         
                    


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

object Macros {
  def foo[T](s: T) = macro Impls.foo[List[T]]

  object Impls {
    def foo[T](c: Ctx)(s: c.Expr[T]) = c.universe.reify {
      List(s.splice)
    }
  }
}