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
I will probably need to add unary bitwise negation for MSVC -WError compatibility; a "-1" literal isn't allowed there. Probably best to desugar in the flattening phase?
The text was updated successfully, but these errors were encountered:
Yeah, the flattening phase could emit SOp resVar bopname.xor argVar argVar for unary bitwise negation. Or if you want a cheaper solution, you could also just define bitwiseNeg x := expr.xor x x at the source level in bedrock2.Syntax, there's already enough precedent for that 😉
I will probably need to add unary bitwise negation for MSVC -WError compatibility; a "-1" literal isn't allowed there. Probably best to desugar in the flattening phase?
The text was updated successfully, but these errors were encountered: