Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

ObjectIdentityComparator does not honour Parity comparison semantics. #78

Open
jmalloc opened this issue Mar 4, 2014 · 0 comments
Open

Comments

@jmalloc
Copy link
Contributor

jmalloc commented Mar 4, 2014

It currently compares ONLY by identity if both operands are objects, it should probably use the regular Parity semantics if one of the objects provides it, and only then fall back to identity when both do not.

This affects the default comparison behaviour of elements and keys in Set and Map, respectively. See #65

@jmalloc jmalloc added this to the 2.0.0 milestone Mar 4, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant