diff --git a/REQUIRE b/REQUIRE index 9f0619e7..2a71ca34 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,3 +1,4 @@ julia 0.6 Missings Reexport +Compat 0.32.0 diff --git a/src/value.jl b/src/value.jl index ecf279f2..6ea8efa5 100644 --- a/src/value.jl +++ b/src/value.jl @@ -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)