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
It's not possible to call a proc that uses: bit_set[$T]
bit_set[$T]
use_generic_bit_set :: proc(v: bit_set[$T]) { } MyEnum :: enum { A, B, } b := bit_set[MyEnum] {} use_generic_bit_set(b)
Output: Cannot assign value 'b' of type 'bit_set[MyEnum]' to 'bit_set[MyEnum]' in procedure argument
Cannot assign value 'b' of type 'bit_set[MyEnum]' to 'bit_set[MyEnum]' in procedure argument
odin report
The text was updated successfully, but these errors were encountered:
f4a3902
No branches or pull requests
Context
It's not possible to call a proc that uses:
bit_set[$T]
Output:
Cannot assign value 'b' of type 'bit_set[MyEnum]' to 'bit_set[MyEnum]' in procedure argument
odin report
output:Odin: dev-2023-09:5cd429a0
OS: Windows 10 Professional (version: 22H2), build 19045.3448
CPU: Intel(R) Core(TM) i7-6950X CPU @ 3.00GHz
RAM: 32674 MiB
The text was updated successfully, but these errors were encountered: