Skip to content

issubset is wrong for empty ranges #35225

@yha

Description

@yha

In Julia 1.4.0,

julia> issubset(2:1,3:4)
false

although of course

julia> issubset(collect(2:1),collect(3:4))
true

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorcollectionsData structures holding multiple items, e.g. setsgood first issueIndicates a good issue for first-time contributors to Juliahelp wantedIndicates that a maintainer wants help on an issue or pull request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions