summaryrefslogblamecommitdiff
path: root/test/files/pos/t5706.scala
blob: 20a8b255cc102ad758d7cb3c764c2393eec03503 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                   








                                                                          
import scala.reflect.macros.Context

class Logger {
  def error(message: String) = macro Impls.error
}

object Impls {
  type LoggerContext = Context { type PrefixType = Logger }
  def error(c: LoggerContext)(message: c.Expr[String]): c.Expr[Unit] = ???
}