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