We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bitstruct Flags : int { bool flag1; bool flag2; } fn void main() { Flags flags; flags = ~flags; // works flags = ~Flags {}; // doesn't work (flags is zero) const Flags FLAGS = {.flag1}; flags = ~FLAGS; // doesn't work (flags is zero) }
The text was updated successfully, but these errors were encountered:
Bit negating const zero flags would give an incorrect result. #1213
492f83f
Thanks, it's fixed.
Sorry, something went wrong.
lerno
No branches or pull requests
The text was updated successfully, but these errors were encountered: