blob: 92c359d9a94470aee8120cbd7c38ccb0f9e14497 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import scala.reflect.macros.whitebox._
import scala.language.experimental.macros
class Macros(val c: Context) {
def impl = ???
}
object Macros {
def impl(c: Context) = ???
}
object Test extends App {
def foo: Unit = macro Macros.impl
}
|