Skip to content

Commit

Permalink
make some constructors bold in stacktraces (#40264)
Browse files Browse the repository at this point in the history
(cherry picked from commit 42766ac)
  • Loading branch information
mcabbott authored and KristofferC committed Apr 4, 2021
1 parent 8a4b9e2 commit cffcbec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2195,7 +2195,7 @@ function show_signature_function(io::IO, @nospecialize(ft), demangle=false, farg
uwf = unwrap_unionall(f)
parens = isa(f, UnionAll) && !(isa(uwf, DataType) && f === uwf.name.wrapper)
parens && print(io, "(")
show(io, f)
print_within_stacktrace(io, f, bold=true)
parens && print(io, ")")
else
if html
Expand Down

0 comments on commit cffcbec

Please sign in to comment.