-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Allow multiple splices in macros #4801
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
Labels
area:metaprogramming:quotes
Issues related to quotes and splices
itype:enhancement
stat:on hold
stat:revisit
Comments
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 18, 2018
To allow macros in classes and any non-static location this is a compromise we have to do. |
Is the restriction documented? |
Woking on it |
This might actually be possible dot do. |
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 23, 2018
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 23, 2018
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 24, 2018
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 24, 2018
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 27, 2018
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 27, 2018
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 27, 2018
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 27, 2018
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 27, 2018
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 27, 2018
For example a transparent method can be defined as ``` transparent def foo(b: Boolean): Int = if (b) ~bar(true) else ~bar(false) ``` Removing this restriction also allows us to have a simpler implementation of splicing and transparent def checking.
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 27, 2018
For example a transparent method can be defined as ``` transparent def foo(b: Boolean): Int = if (b) ~bar(true) else ~bar(false) ``` Removing this restriction also allows us to have a simpler implementation of splicing and transparent def checking.
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jul 27, 2018
For example a transparent method can be defined as ``` transparent def foo(b: Boolean): Int = if (b) ~bar(true) else ~bar(false) ``` Removing this restriction also allows us to have a simpler implementation of splicing and transparent def checking. Removes last use of `Macro` flag in `ReifyQuotes`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:metaprogramming:quotes
Issues related to quotes and splices
itype:enhancement
stat:on hold
stat:revisit
Uh oh!
There was an error while loading. Please reload this page.
We want to be able to write macros that have several top level splices such as
The text was updated successfully, but these errors were encountered: