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
Because we use =/!= instead of -eq/-ne to compare numbers in conditions, having variables containing -0 breaks this optimization and causes conditions to misfire. The bug doesn't happen when using the variable containing -0 in an arithmetic expansion since -0 is reduced to 0, so it only happens in conditions
See #73 for instructions on how to reproduce the bug.
The text was updated successfully, but these errors were encountered:
Because we use
=/!=
instead of-eq/-ne
to compare numbers in conditions, having variables containing-0
breaks this optimization and causes conditions to misfire. The bug doesn't happen when using the variable containing-0
in an arithmetic expansion since-0
is reduced to0
, so it only happens in conditionsSee #73 for instructions on how to reproduce the bug.
The text was updated successfully, but these errors were encountered: