Skip to content

Commit

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

Refs #45823

(cherry picked from commit 3919a89)
  • Loading branch information
vtjnash authored and KristofferC committed Mar 24, 2023
1 parent cdb4d24 commit 43c1ba2
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 @@ -925,7 +925,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 43c1ba2

Please sign in to comment.