-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
import scala.reflect.macros.Context
import scala.language.experimental.macros
import language.experimental.macros
import reflect.macros.Context
object DebugMacros {
def hello(): Unit = macro hello_impl
def hello_impl(c: Context)(): c.Expr[Unit] = {
import c.universe._
reify { println("Hello World!") }
}
}Reactions are currently unavailable