Closed jorge-fernandes closed 1 year ago
well, that's very crappy. I'll fix it tonight my time. I see the problem...
if (obj === null != obj2 === null) {
return false;
}
due to operator priority the bracketing was wrong...
if ((obj === null) != (obj2 === null)) {
return false;
}
this fixes it. I'll push and release tonight.
I have now released 1.0.6 on npm. Sorry for the bad bug :grimacing:
Hi,
stumbled upon a new equality issue
Option.of(Vector.of(12, 2674)).equals(Option.of(null))
yields true
i'm on
"prelude-ts": "1.0.5"