We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this is a bit convoluted to come up with a good example, but macro hygiene is wrong for macros that return calls to macros:
# time: 2017-06-08 18:41:45 EDT # mode: julia macro a() esc(:a) end # time: 2017-06-08 18:41:58 EDT # mode: julia macro b() :(@a) end # time: 2017-06-08 18:42:16 EDT # mode: julia function c() a = 1 return @b end # time: 2017-06-08 18:42:22 EDT # mode: julia a = 2 @test c() == 2
It seems like we're running hygiene over the AST before recursively expanding macros, whereas we should be doing it afterwards.
The text was updated successfully, but these errors were encountered:
Maybe a good opportunity to revisit #10940.
Sorry, something went wrong.
partially fix some macro expansion scope bugs
ce7f503
fix #22307
7ec9b18
No branches or pull requests
this is a bit convoluted to come up with a good example, but macro hygiene is wrong for macros that return calls to macros:
It seems like we're running hygiene over the AST before recursively expanding macros, whereas we should be doing it afterwards.
The text was updated successfully, but these errors were encountered: