aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Uri.zig
diff options
context:
space:
mode:
authorTechatrix <19954306+Techatrix@users.noreply.github.com>2023-10-30 00:02:57 +0100
committerAndrew Kelley <andrew@ziglang.org>2024-01-16 16:27:31 -0800
commitec358d6db5a10989590e11bbbbd3bed9f81cf1f4 (patch)
treebd5affb8ff6bbbb4ea8ac22554c0a782d73bb261 /lib/std/Uri.zig
parent4ace1f5a7ffeb569e97dc78807a1eacc5565a272 (diff)
downloadzig-ec358d6db5a10989590e11bbbbd3bed9f81cf1f4.tar.gz
zig-ec358d6db5a10989590e11bbbbd3bed9f81cf1f4.zip
sema: fix safe integer arithmetic operations on undefined values
Previously `@as(i64, undefined) +% 1` would produce `@as(@TypeOf(undefined), undefined)` which now gives `@as(i64, undefined)`. Previously `@as(i64, undefined) +| 1` would hit an assertion which now gives `@as(i64, undefined)`.
Diffstat (limited to 'lib/std/Uri.zig')
0 files changed, 0 insertions, 0 deletions