-
-
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
Parsing of macro call with kw argument broken #20000
Comments
Should the expressions inside |
Keep it as
It's convenient to be able to do Not an argument for anything but I've just realized that we were always parsing julia> Meta.show_sexpr(parse("m(a, (b[]=c))"))
(:call, :m, :a, (:kw, (:ref, :b), :c)) |
Segue: I'm not sure if "congratulations" is the correct word for the 20,000th issue (it means a lot of bug reports, improvements and hard work!), but it seems like a milestone to celebrate. 😄 |
20k issues is definitely a great milestone! It's a sure sign of an active, vibrant project. |
This breaks the BenchmarkTools.jl test. Bisected to #19868 so I assume it isn't intentional. (I think we can make
@m(a=b)
parse as=
while keep@(;a=b)
to be parsed as:parameter
since there isn't a similar case for parenthesisless syntax to be confused with)The text was updated successfully, but these errors were encountered: