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
As of #1399, we allow expr && 0 and expr & 0 to be constant 0, and expr || non-0 to be constant 1.
expr * 0 should also be valid to allow as constant 0. I don't think there would be any issues with that, and it could be helpful with (cond * val1) + (!cond * val2) "ternaries".
The text was updated successfully, but these errors were encountered:
As of #1399, we allow
expr && 0
andexpr & 0
to be constant 0, andexpr || non-0
to be constant 1.expr * 0
should also be valid to allow as constant 0. I don't think there would be any issues with that, and it could be helpful with(cond * val1) + (!cond * val2)
"ternaries".The text was updated successfully, but these errors were encountered: