Skip to content

Commit

Permalink
print braces around lone where types
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott committed May 20, 2021
1 parent 749d0a8 commit ff83c70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions base/methodshow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ end
function show_method_params(io::IO, tv)
if !isempty(tv)
print(io, " where ")
if length(tv) == 1
show(io, tv[1])
else
# if length(tv) == 1
# show(io, tv[1])
# else
print(io, "{")
for i = 1:length(tv)
if i > 1
Expand All @@ -113,7 +113,7 @@ function show_method_params(io::IO, tv)
io = IOContext(io, :unionall_env => x)
end
print(io, "}")
end
# end
end
end

Expand Down

0 comments on commit ff83c70

Please sign in to comment.