blob: 6c0462ea8010f280adf5a610ccdef40dd7967f87 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import language.experimental.macros
object Macros {
def foo1 = macro ???
foo1
def foo2(x: Int) = macro ???
foo2
foo2(1)
def foo3[T] = macro ???
foo3[Int]
}
|