std.enums.EnumArray.initDefault
and std.enums.EnumMap.initFullWithDefault
fail with non-exhaustive enum
s
#22104
Labels
bug
Observed behavior contradicts documented or intended behavior
Uh oh!
There was an error while loading. Please reload this page.
Zig Version
0.13.0
Steps to Reproduce and Observed Behavior
enum
EnumArray
viainit
orinitDefault
/EnumMap
viainitFullWith
orinitFullWithDefault
EnumArray
code example:Error message:
EnumMap
code example:Error message:
Expected Behavior
Successful compilation with valid behavior
The text was updated successfully, but these errors were encountered: