Skip to content

Commit 3681bb3

Browse files
authored
delete redundant method of function !=, defined between types (#59509)
The method was originally added way back in PR #15575. Pretty sure it is not necessary any more, as deleting it preserves the effect inference.
1 parent 5c93bf2 commit 3681bb3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

base/operators.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ isunordered(x::AbstractFloat) = isnan(x)
293293
isunordered(x::Missing) = true
294294

295295
==(T::Type, S::Type) = (@_total_meta; ccall(:jl_types_equal, Cint, (Any, Any), T, S) != 0)
296-
!=(T::Type, S::Type) = (@_total_meta; !(T == S))
297296
==(T::TypeVar, S::Type) = false
298297
==(T::Type, S::TypeVar) = false
299298

0 commit comments

Comments
 (0)