diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-01-05 00:25:28 +0300 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-01-09 08:10:46 +0100 |
commit | d17e3fc29cd48a3d4cbbbfc1fc9eb021d787d4d7 (patch) | |
tree | 2c658d3779ebbee4789160f2cc8f11e2484b3274 /test | |
parent | 816bcdf382ea0469f6c5eadcff44901921ba6075 (diff) | |
download | scala-d17e3fc29cd48a3d4cbbbfc1fc9eb021d787d4d7.tar.gz scala-d17e3fc29cd48a3d4cbbbfc1fc9eb021d787d4d7.tar.bz2 scala-d17e3fc29cd48a3d4cbbbfc1fc9eb021d787d4d7.zip |
adds c.macroRole
Currently there's only one flavor of macros - def macros, and the plan
was to gradually introduce additional flavors, such as type macros and
macro annotations.
However as shown by the experience with type macros, it makes sense
to distinguish subflavors of macros that tell us in which context the
macro gets expanded. For def macros we have the only role - expansion
of an application. But for type macros there are multiple.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions