You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixscala-js#4621: Preserve the side effects of JS binary and unary ops.
The emitter wrongly thought that these operators preserve pureness.
However, they can have side effects in two cases:
* For BigInts, division by 0 and unary + throw.
* For custom objects, if their `valueOf()` method throws, it will
be propagated by the JS binary and unary ops.
0 commit comments