Skip to content

the TreeMap Ord implementation is not 100% correct #5194

Closed
@thestinger

Description

@thestinger

It's correct for sets, which just consist of keys, but with maps it's only comparing key values which is definitely wrong. If it's going to be exposed on maps too, it should do what C++ does and treat the map as [(T, U)].

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