Reached unreachable code in digitToChar
function.
#22533
Labels
bug
Observed behavior contradicts documented or intended behavior
digitToChar
function.
#22533
Zig Version
0.13.0
Steps to Reproduce and Observed Behavior
To reproduce this, call the
std.fmt.digitToChar
function with a value that is higher than 36.Example code
Expected Behavior
Technically, this works as expected, but in reality it should return an invalid parameter error.
The text was updated successfully, but these errors were encountered: