From 3919a89aaac87fab772721df9f7bbd9d647ce554 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Thu, 16 Mar 2023 12:37:26 -0400 Subject: [PATCH] fix problem with string_concatenation_hint_handler (#49016) Quiets an error on CI when running missing tests. Refs #45823 --- base/errorshow.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/errorshow.jl b/base/errorshow.jl index e99253656d4e4..6530dd51d67c1 100644 --- a/base/errorshow.jl +++ b/base/errorshow.jl @@ -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).")