Skip to content

Commit 75a9166

Browse files
authored
Merge pull request #1446 from dcsobral/patch-2
Update for Scala 2.13
2 parents 4324e50 + 29fa154 commit 75a9166

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

_overviews/macros/annotations.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ permalink: /overviews/macros/:title.html
1616

1717
**Eugene Burmako**
1818

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.
2223

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,
2425
which means that your users will have to also add macro paradise to their builds in order to use your macro annotations.
2526
However, after macro annotations expand, the resulting code will no longer have any references to macro paradise
2627
and won't require its presence at compile-time or at runtime.

0 commit comments

Comments
 (0)