blob: 577e6400892a93fbc6eee0e9ec054e0ec3bd279f (
plain) (
tree)
|
|
import scala.language.experimental.macros
import scala.reflect.macros.BlackboxContext
object Macros {
def impl(c: BlackboxContext) = {
c.abort(c.enclosingPosition, "aborted")
}
def abort = macro impl
}
|