Skip to content

Commit

Permalink
Remove ==(::Any, ::Null) (#19)
Browse files Browse the repository at this point in the history
These two definitions are not required since the fallback on === gives the
same result, yet they generate lots of ambiguities.
  • Loading branch information
nalimilan authored and ararslan committed Jun 1, 2017
1 parent ae347a3 commit 4a2a2ca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Nulls.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ Base.convert{T}(::Type{Union{T, Null}}, x) = convert(T, x)

# Comparison operators
==(::Null, ::Null) = true
==(::Null, b) = false
==(a, ::Null) = false
<(::Null, ::Null) = false
<(::Null, b) = false
<(a, ::Null) = false
Expand Down

0 comments on commit 4a2a2ca

Please sign in to comment.