Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Vlad Panazan
defb24a36a fix for 0.16.0-dev.2623 2026-02-22 12:52:18 +01:00

View file

@ -1427,8 +1427,8 @@ pub fn toJsonOptsAlloc(a: std.mem.Allocator, cbor_buf: []const u8, opts: std.jso
pub fn writeJsonValue(writer: *Io.Writer, value: json.Value) !void {
try switch (value) {
.array => |_| unreachable,
.object => |_| unreachable,
.array => unreachable,
.object => unreachable,
.null => writeNull(writer),
inline else => |v| writeValue(writer, v),
};