-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
esc
cannot be used in function arguments
#16096
Comments
@inline
Ref #10887 |
Another issue is that without the inline macro it's not possible to escape function argument names. I don't think that's a regression though (I think I might have seen an issue for it somewhere). |
fix #16096, incorrect var renaming inside macrocall exprs in macroexpand
looks like it's still broken / the fix broke something else: http:https://buildbot.e.ip.saba.us:8010/builders/perf_nanosoldier-x64/builds/201 |
I can reproduce that on 0.4:
Maybe there was some intermediate time where it worked on master. |
@inline
esc
cannot be used in function arguments
Also, I'm not able to escape the entire signature when using block syntax: :($(:(f())) = 1) # works
:(function $(:(f())) 1 end) # syntax: expected "end" in definition of function "($ '(call f))" |
Macroexpanding
Foo.@iter
yields a function with an argumentFoo.sub
and a localFoo.it
, both of which are broken.In fewer cases (but still in this case) 0.4 also qualifies
sub
, but gensymsit
correctly.The text was updated successfully, but these errors were encountered: