Infinite loop in generated code using anonymous enums with `bit_set`
oskarnp opened this issue · 0 comments
oskarnp commented
- Operating System: macOS
- Odin version/Commit: b9b2b90
package test
import "core:fmt"
main :: proc() {
X :: bit_set[enum{A,B,C}];
x: X = {.B};
fmt.println(x);
unreachable(); // not reached
}
Compiling the above program and running causes an infinite loop. The unreachable()
is never reached.