blob: 55cf0dcafa191b77632ede45ae2b38835971368e (
plain) (
blame)
1
2
3
4
5
|
import scala.reflect.macros.{BlackboxContext => Ctx}
object Impls {
def foo[U <: String](c: Ctx): c.Expr[Unit] = { import c.universe._; c.Expr[Unit](q"""println("hello world")""") }
}
|