Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the TreeMap Ord implementation is not 100% correct #5194

Closed
thestinger opened this issue Mar 2, 2013 · 0 comments · Fixed by #7530
Closed

the TreeMap Ord implementation is not 100% correct #5194

thestinger opened this issue Mar 2, 2013 · 0 comments · Fixed by #7530

Comments

@thestinger
Copy link
Contributor

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)].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant