-
-
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
improve show to handle ;
in a tuple
#32775
Comments
I'd like to take a stab at this, I should be looking in |
Thanks, yes that's correct. |
Ok so I've done some more research: julia> :(1,;2)
:(($(Expr(:parameters, 2)), 1)) The call stack look like this:
julia> :(f(1,;2))
:(f(1; 2)) The call stack look like this:
Now, inside if !isempty(func_args) && isa(func_args[1], Expr) && func_args[1].head === :parameters
print(io, op)
show_list(io, func_args[2:end], ", ", indent)
print(io, "; ")
show_list(io, func_args[1].args, ", ", indent)
print(io, cl)
else
show_enclosed_list(io, op, func_args, ", ", cl, indent)
end while in if unhandled
print(io, "\$(Expr(")
show(io, ex.head)
for arg in args
print(io, ", ")
show(io, arg)
end
print(io, "))")
end Should I just add one more |
The text was updated successfully, but these errors were encountered: