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