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
  • Loading branch information
vtjnash authored Mar 16, 2023
1 parent 38d9d83 commit 3919a89
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 3919a89

Please sign in to comment.