Skip to content

Commit 69e5d32

Browse files
committed
fix: use== instead of ===
1 parent bce4da3 commit 69e5d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/promotion.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ promote_type(T, S, U, V...) = (@inline; afoldl(promote_type, promote_type(T, S,
305305
function promote_type(::Type{T}, ::Type{S}) where {T,S}
306306
@_terminates_locally_meta
307307
normalized_type(::Type{Typ}) where {Typ} = Typ
308-
types_are_identical(::Type{A}, ::Type{B}) where {A,B} = A === B
308+
types_are_identical(::Type{A}, ::Type{B}) where {A,B} = A == B
309309
is_bottom(::Type{Typ}) where {Typ} = Typ <: Bottom
310310
left = T
311311
right = S

0 commit comments

Comments
 (0)