Skip to content

Commit 43c1ba2

Browse files
vtjnashKristofferC
authored andcommitted
fix problem with string_concatenation_hint_handler (#49016)
Quiets an error on CI when running missing tests. Refs #45823 (cherry picked from commit 3919a89)
1 parent cdb4d24 commit 43c1ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/errorshow.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ Experimental.register_error_hint(noncallable_number_hint_handler, MethodError)
925925
# (probably attempting concatenation)
926926
function string_concatenation_hint_handler(io, ex, arg_types, kwargs)
927927
@nospecialize
928-
if (ex.f == +) && all(i -> i <: AbstractString, arg_types)
928+
if (ex.f === +) && all(i -> i <: AbstractString, arg_types)
929929
print(io, "\nString concatenation is performed with ")
930930
printstyled(io, "*", color=:cyan)
931931
print(io, " (See also: https://docs.julialang.org/en/v1/manual/strings/#man-concatenation).")

0 commit comments

Comments
 (0)