Skip to content

Update for Scala 2.13 #1446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 31, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions _overviews/macros/annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ permalink: /overviews/macros/:title.html

**Eugene Burmako**

Macro annotations are only available with the macro paradise plugin (in Scala 2.10.x, 2.11.x and 2.12.x alike).
Their inclusion in official Scala might happen in Scala 2.13, but there is no certainty about it yet.
Follow the instructions at the ["Macro Paradise"](paradise.html) page to download and use our compiler plugin.
Macro annotations are available in Scala 2.13 with the `-Ymacro-annotations` flag, but only with the macro paradise
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The second part is a hard to parse for me. Suggestion: , and with the macro paradise plugin from Scala 2.10.x to Scala 2.12.x

plugin from Scala 2.10.x to Scala 2.12.x.
Follow the instructions at the ["Macro Paradise"](paradise.html) page to download and use our compiler plugin if using
those older Scala versions.

Note that macro paradise is needed both to compile and to expand macro annotations,
Note that the macro paradise plugin is needed both to compile and to expand macro annotations,
which means that your users will have to also add macro paradise to their builds in order to use your macro annotations.
However, after macro annotations expand, the resulting code will no longer have any references to macro paradise
and won't require its presence at compile-time or at runtime.
Expand Down