-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate macro paradise under -Ymacro-annotations
Importing from scalamacros/paradise, since xeno-by has stepped down as maintainer. Since the eco-system has come to rely on macro paradise, we acknowledge the status quo by integrating paradise. HOWEVER, please note that support for macro annotations remains EXPERIMENTAL, and support for them will be much more restricted in Scala 3. We will try to provide a preview of this subset in 2.14. Most notably, we do not intend to let macro annotations synthesize code that is visible during synthesis. Concretely, you'd have to first compile the macros, then the code that uses them as annotations, and finally the code the needs to see the code synthesized by the annotation macros. This is the same workflow as usual with code generation. The tests are included as a new project (macroAnnot), which uses the quick compiler as a scalaInstance to compile the tests, so that we could integrate the test suite more easily. Finally, note the diff re: `List toStream flatMap headOption`: its behavior changed with the new collections.
- Loading branch information
Showing
82 changed files
with
3,602 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.