aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2023-10-27 19:05:51 +0100
committerGitHub <noreply@github.com>2023-10-27 18:05:51 +0000
commit772636ed0d4a2051955197999c9ddf2906384806 (patch)
treead6779833aa096513c83f20e846993f745cafa1d /src/Module.zig
parenta4cffd80bdc9bf879d1048b52aeba5716723803d (diff)
downloadzig-772636ed0d4a2051955197999c9ddf2906384806.tar.gz
zig-772636ed0d4a2051955197999c9ddf2906384806.zip
std.json: Parse -0 as a float instead of an integer (#17729)
This is consistent with `JSON.parse("-0")` in JavaScript, RFC 8259 doesn't specifically mention what to do in this case. If a negative zero is encoded the intention is likely to preserve the sign.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions