@tagName()
fails with enum backed by signed int
#16095
Labels
bug
Observed behavior contradicts documented or intended behavior
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
regression
It worked in a previous version of Zig, but stopped working.
Milestone
Zig Version
0.11.0-dev.3704+729a051e9
Steps to Reproduce and Observed Behavior
it seems that using
@tagName()
with an i32 backed enum fails while it succeeds with a u32.Expected Behavior
test should pass whether the enum is backed by a signed int or an unsigned int
The text was updated successfully, but these errors were encountered: