File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ permalink: /overviews/macros/:title.html
16
16
17
17
** Eugene Burmako**
18
18
19
- Macro annotations are only available with the macro paradise plugin (in Scala 2.10.x, 2.11.x and 2.12.x alike).
20
- Their inclusion in official Scala might happen in Scala 2.13, but there is no certainty about it yet.
21
- Follow the instructions at the [ "Macro Paradise"] ( paradise.html ) page to download and use our compiler plugin.
19
+ Macro annotations are available in Scala 2.13 with the ` -Ymacro-annotations ` flag, but only with the macro paradise
20
+ plugin from Scala 2.10.x to Scala 2.12.x.
21
+ Follow the instructions at the [ "Macro Paradise"] ( paradise.html ) page to download and use our compiler plugin if using
22
+ those older Scala versions.
22
23
23
- Note that macro paradise is needed both to compile and to expand macro annotations,
24
+ Note that the macro paradise plugin is needed both to compile and to expand macro annotations,
24
25
which means that your users will have to also add macro paradise to their builds in order to use your macro annotations.
25
26
However, after macro annotations expand, the resulting code will no longer have any references to macro paradise
26
27
and won't require its presence at compile-time or at runtime.
You can’t perform that action at this time.
0 commit comments