Skip to content

Commit

Permalink
make some constructors bold in stacktraces (JuliaLang#40264)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott authored and johanmon committed Jul 5, 2021
1 parent bbc6912 commit 6cb7472
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 @@ -2226,7 +2226,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 6cb7472

Please sign in to comment.