-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
QuoteNode, LineNumberNode leaking into macros #23661
Comments
essentially a dup of #15310 |
Except that, presumably, #15310 didn't cause breakage in DataStructures.jl? |
I don't think it's a dup; that was about expressions returned from macros, while this is a change in what we pass to macros. |
We no longer use the `:line` Expr head in julia.
We no longer use the `:line` Expr head in julia.
We no longer use the `:line` Expr head in julia.
After exploring this, it seems we've been using QuoteNode and LineNumberNode quite a bit. Trying to eliminate them from macro arguments actually required more code changes, so we'll keep the new behavior. It's in the ast devdocs, but the summary is that |
The behavior here is different than the previous behavior of passing these in as
Expr(:quote)
andExpr(:line)
. If this is an intended change (which would be unfortunate, in my opinion), then it should be documented in NEWS.The text was updated successfully, but these errors were encountered: