Comparison between MapValue and other Virtual values.
fferegrino opened this issue · comments
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.