Skip to content

Commit e7b0749

Browse files
vtjnashXnartharax
authored andcommitted
fix problem with string_concatenation_hint_handler (JuliaLang#49016)
Quiets an error on CI when running missing tests. Refs JuliaLang#45823
1 parent cdd4d66 commit e7b0749

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
@@ -921,7 +921,7 @@ Experimental.register_error_hint(noncallable_number_hint_handler, MethodError)
921921
# (probably attempting concatenation)
922922
function string_concatenation_hint_handler(io, ex, arg_types, kwargs)
923923
@nospecialize
924-
if (ex.f == +) && all(i -> i <: AbstractString, arg_types)
924+
if (ex.f === +) && all(i -> i <: AbstractString, arg_types)
925925
print(io, "\nString concatenation is performed with ")
926926
printstyled(io, "*", color=:cyan)
927927
print(io, " (See also: https://docs.julialang.org/en/v1/manual/strings/#man-concatenation).")

0 commit comments

Comments
 (0)