Closed ash14 closed 3 years ago
Thank you, that’s nasty. Fixed in 1.2.7
Thanks for the quick response. Confirmed fixed when using 1.2.7 from clojars but the change isn't in this repo? https://github.com/tonsky/datascript/compare/1.2.6...1.2.7
My bad. Looks like I deployed from a local copy and forgot to commit. Republished properly as 1.2.8
It seems that the implementation of
value-compare
using hashcodes can lead to some very surprising behaviour:Compare CLJ:
With CLJS:
In this case
42
should not be considered equal to42.5