Skip to content

Commit

Permalink
Fix Range deprecation (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nosferican authored and nalimilan committed Nov 19, 2017
1 parent e1c57a2 commit 0efe75a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions REQUIRE
@@ -1,3 +1,4 @@
julia 0.6
Missings
Reexport
Compat 0.32.0
2 changes: 1 addition & 1 deletion src/value.jl
Expand Up @@ -126,7 +126,7 @@ Base.isequal(::Missing, ::CatValue) = false

Base.in(x::CatValue, y::Any) = get(x) in y
Base.in(x::CatValue, y::Set) = get(x) in y
Base.in(x::CatValue, y::Range{T}) where {T<:Integer} = get(x) in y
Base.in(x::CatValue, y::AbstractRange{T}) where {T<:Integer} = get(x) in y

Base.hash(x::CatValue, h::UInt) = hash(get(x), h)

Expand Down

0 comments on commit 0efe75a

Please sign in to comment.