| ... | @@ -702,7 +702,7 @@ pub const NumberIndex = enum(u32) { | ... | @@ -702,7 +702,7 @@ pub const NumberIndex = enum(u32) { |
| 702 | | 702 | |
| 703 | pub fn get(this: NumberIndex, comptime T: type) T { | 703 | pub fn get(this: NumberIndex, comptime T: type) T { |
| 704 | return switch (@typeInfo(T)) { | 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 | .float => std.fmt.parseFloat(T, this.to()) catch unreachable, | 706 | .float => std.fmt.parseFloat(T, this.to()) catch unreachable, |
| 707 | else => @compileError("not a number type"), | 707 | else => @compileError("not a number type"), |
| 708 | }; | 708 | }; |