blob: a307ffb26ee3404cd224f484dbff74c2025bb2eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
scala> def bar1(c: scala.reflect.macros.blackbox.Context) = ???
bar1: (c: scala.reflect.macros.blackbox.Context)Nothing
scala> def foo1 = macro bar1
defined term macro foo1: Nothing
scala> def bar2(c: scala.reflect.macros.whitebox.Context) = ???
bar2: (c: scala.reflect.macros.whitebox.Context)Nothing
scala> def foo2 = macro bar2
defined term macro foo2: Nothing
scala> :quit
|