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

Comparison between MapValue and other Virtual values. #1

Open
fferegrino opened this issue Jul 3, 2018 · 0 comments
Open

Comparison between MapValue and other Virtual values. #1

fferegrino opened this issue Jul 3, 2018 · 0 comments
Assignees

Comments

@fferegrino
Copy link
Member

In the class AnyValueComparatorTest,

This is creating an issue since maps now inherit from Value, so the method shouldOrderValuesCorrectly is failing. I do not get the concept of ordering values and why map should be the last element on the list...

Seems like MapValue was expected (when it inherited from VirtualValue) to be smaller than any other Value... just because. The comparison is made in AnyValueComparator.java.

@fferegrino fferegrino self-assigned this Jul 3, 2018
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

No branches or pull requests

1 participant