blob: 2077e99ad7ec22d3b836ea695c888318c73ef2bc (
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
}
|