Skip to content

Commit 658999c

Browse files
committed
Widen RangeIndex from Int to BitInteger
1 parent e7a5c36 commit 658999c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/array.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const AbstractMatrix{T} = AbstractArray{T,2}
3636
Union type of [`AbstractVector{T}`](@ref) and [`AbstractMatrix{T}`](@ref).
3737
"""
3838
const AbstractVecOrMat{T} = Union{AbstractVector{T}, AbstractMatrix{T}}
39-
const RangeIndex = Union{Int, AbstractRange{Int}, AbstractUnitRange{Int}}
39+
const RangeIndex = Union{<:BitInteger, AbstractRange{<:BitInteger}}
4040
const DimOrInd = Union{Integer, AbstractUnitRange}
4141
const IntOrInd = Union{Int, AbstractUnitRange}
4242
const DimsOrInds{N} = NTuple{N,DimOrInd}

0 commit comments

Comments
 (0)