Skip to content

Commit

Permalink
fix problem with string_concatenation_hint_handler (JuliaLang#49016)
Browse files Browse the repository at this point in the history
Quiets an error on CI when running missing tests.

Refs JuliaLang#45823
  • Loading branch information
vtjnash authored and oscardssmith committed Mar 20, 2023
1 parent 3472dfd commit 8329a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/errorshow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ Experimental.register_error_hint(noncallable_number_hint_handler, MethodError)
# (probably attempting concatenation)
function string_concatenation_hint_handler(io, ex, arg_types, kwargs)
@nospecialize
if (ex.f == +) && all(i -> i <: AbstractString, arg_types)
if (ex.f === +) && all(i -> i <: AbstractString, arg_types)
print(io, "\nString concatenation is performed with ")
printstyled(io, "*", color=:cyan)
print(io, " (See also: https://docs.julialang.org/en/v1/manual/strings/#man-concatenation).")
Expand Down

0 comments on commit 8329a56

Please sign in to comment.