blob: 4ed2f4f7e56702ea73d7ae5ad925a260a9760a4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import scala.language.experimental.macros
import scala.reflect.macros.blackbox.Macro
trait Bundle extends Macro {
def deferred: Int
def impl = ???
}
object Macros {
def foo = macro Bundle.impl
}
|