| author | |
| committer | |
| log | 17822e4a050dcbcf7fe324fcdff68887fee73ff1 |
| tree | 8f9492befb7ea594d8951ff3ecd9d29aca9b6da3 |
| parent | 0b7347fd18eee7dd829cd9aaed3683123d84859b |
This is covered by an existing test which was already failing.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/json.zig+1-1| ... | ... | @@ -1766,7 +1766,7 @@ fn parseInternal( |
| 1766 | 1766 | } |
| 1767 | 1767 | } |
| 1768 | 1768 | if (field.is_comptime) { |
| 1769 | if (!try parsesTo(field.field_type, field.default_value.?, tokens, child_options)) { | |
| 1769 | if (!try parsesTo(field.field_type, @ptrCast(*const field.field_type, field.default_value.?).*, tokens, child_options)) { | |
| 1770 | 1770 | return error.UnexpectedValue; |
| 1771 | 1771 | } |
| 1772 | 1772 | } else { |