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
This program correctly prints 5, looping over the potential members of a bit_set and then printing them if found in it:
package main import "core:fmt" main :: proc() { bag: bit_set[0 ..< 10] = {5} for x in 0 ..< 10 do if x in bag { fmt.println(x) } }
formatting is with a freshly built odinfmt from master.
The text was updated successfully, but these errors were encountered:
This is now fixed.
Sorry, something went wrong.
No branches or pull requests
This program correctly prints 5, looping over the potential members of a bit_set and then printing them if found in it:
formatting is with a freshly built odinfmt from master.
The text was updated successfully, but these errors were encountered: