| author | |
| committer | |
| log | c42e6387d1ecb15b82fce5c8c08728e93a7b932c |
| tree | 958f8525795d82ae24f52e21fc20822d5abc6a5c |
| parent | 20c587e9670347dbac378bf15753649fbc0d975d |
1 files changed, 1 insertions(+), 1 deletions(-)
json.zig+1-1| ... | ... | @@ -702,7 +702,7 @@ pub const NumberIndex = enum(u32) { |
| 702 | 702 | |
| 703 | 703 | pub fn get(this: NumberIndex, comptime T: type) T { |
| 704 | 704 | return switch (@typeInfo(T)) { |
| 705 | .int => std.fmt.parseInt(T, this.to(), 10) catch unreachable, | |
| 705 | .int => extras.parseDigits(T, this.to(), 10) catch unreachable, | |
| 706 | 706 | .float => std.fmt.parseFloat(T, this.to()) catch unreachable, |
| 707 | 707 | else => @compileError("not a number type"), |
| 708 | 708 | }; |