You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Printing exprs drops parens around .... Usually this is fine, because the parens are non-significant,
but it matters in anonymous function syntax.
julia> Meta.parse(string(:((args...)->args)))
ERROR: Base.Meta.ParseError("extra token \"->\" after end of expression")
Stacktrace:
[1] parse(::String, ::Int64; greedy::Bool, raise::Bool, depwarn::Bool) at ./meta.jl:186
[2] parse(::String; raise::Bool, depwarn::Bool) at ./meta.jl:217
[3] parse(::String) at ./meta.jl:217
[4] top-level scope at REPL[1]:1
julia> (args...)->args
#1 (generic function with 1 method)
The text was updated successfully, but these errors were encountered:
Printing exprs drops parens around
...
. Usually this is fine, because the parens are non-significant,but it matters in anonymous function syntax.
The text was updated successfully, but these errors were encountered: