-
-
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
Error with optional argument in anonymous function defined in macro #36272
Comments
Success/failure in julia versions:
|
That's definitely a bug with macro hygiene:
Seems like hygiene is not aware of the optional argument |
JeffBezanson
pushed a commit
that referenced
this issue
Jun 15, 2020
KristofferC
pushed a commit
that referenced
this issue
Jun 16, 2020
26 tasks
simeonschaub
added a commit
to simeonschaub/julia
that referenced
this issue
Aug 11, 2020
…on defined in macro (JuliaLang#36273)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Julia 1.5.0 beta 1, the following fails:
with
The reason I want to do this is here: https://github.com/JuliaPOMDP/POMDPs.jl/blob/609fe87094d4b1b01993deb0514565450266547f/src/generative.jl#L189. A workaround is to name the function.
The text was updated successfully, but these errors were encountered: