Skip to content

Hashing integer ranges  #12226

Closed
Closed
@jakebolewski

Description

@jakebolewski

Please close if I'm missing something obvious (it is early) but I thought that this was supposed to work.

julia> @which [1:10...] == 1:10
==(A::AbstractArray{T,N}, B::AbstractArray{T,N}) at abstractarray.jl:1013

julia> [1:10...] == 1:10
false

julia> hash([1:10...]), hash(1:10)
(0xf58b1de9b53af894,0x21eb1cd76b7f5f20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions