-
-
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
Type declaration on anonymous function arguments in macro not working on 1.5 #37134
Labels
Comments
Likely hygiene-related, as this works: macro bla()
:($(esc(:x))::Int -> 62)
end |
JeffBezanson
added a commit
that referenced
this issue
Aug 24, 2020
JeffBezanson
added a commit
that referenced
this issue
Aug 26, 2020
KristofferC
pushed a commit
that referenced
this issue
Aug 27, 2020
simeonschaub
pushed a commit
to simeonschaub/julia
that referenced
this issue
Aug 29, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Hello,
Originally broke
DistributedArrays
, filed here. It turns out it is about type declaration of an anonymous function argument inside a macro (that was a mouthful :P).This stopped working on version 1.5, was working as of 1.4 (works without the type declaration
::Int
). Curiously,eval(:(x::Int -> 62))
works too.Cheers!
The text was updated successfully, but these errors were encountered: