Skip to content
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

Hygiene failure on kwargs #16239

Closed
cstjean opened this issue May 6, 2016 · 1 comment
Closed

Hygiene failure on kwargs #16239

cstjean opened this issue May 6, 2016 · 1 comment
Assignees
Labels
bug Indicates an unexpected problem or unintended behavior compiler:lowering Syntax lowering (compiler front end, 2nd stage)
Milestone

Comments

@cstjean
Copy link
Contributor

cstjean commented May 6, 2016

On Julia 0.4

macro foo()
    :(blah(args...; kwargs...) = 10)
end

macroexpand(:(@foo()))

yields

:(#278#blah(#279#args...; kwargs...) = begin  # In[43], line 2:
            10
        end)

I've checked that it's not just a pretty-printing issue - the kwargs in the expansion is :kwargs

@yuyichao yuyichao added the parser Language parsing and surface syntax label May 9, 2016
@KristofferC
Copy link
Member

Still happening on 0.7.

@StefanKarpinski StefanKarpinski added the bug Indicates an unexpected problem or unintended behavior label Jun 26, 2017
@StefanKarpinski StefanKarpinski added this to the 0.6.x milestone Jun 26, 2017
@JeffBezanson JeffBezanson self-assigned this Jan 15, 2018
@JeffBezanson JeffBezanson added compiler:lowering Syntax lowering (compiler front end, 2nd stage) and removed parser Language parsing and surface syntax labels Jan 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior compiler:lowering Syntax lowering (compiler front end, 2nd stage)
Projects
None yet
Development

No branches or pull requests

5 participants