Skip to content

Commit 0efe75a

Browse files
Nosfericannalimilan
authored andcommitted
Fix Range deprecation (JuliaData#101)
1 parent e1c57a2 commit 0efe75a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

REQUIRE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
julia 0.6
22
Missings
33
Reexport
4+
Compat 0.32.0

src/value.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Base.isequal(::Missing, ::CatValue) = false
126126

127127
Base.in(x::CatValue, y::Any) = get(x) in y
128128
Base.in(x::CatValue, y::Set) = get(x) in y
129-
Base.in(x::CatValue, y::Range{T}) where {T<:Integer} = get(x) in y
129+
Base.in(x::CatValue, y::AbstractRange{T}) where {T<:Integer} = get(x) in y
130130

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

0 commit comments

Comments
 (0)