aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2023-10-24 05:16:49 +0100
committermlugg <mlugg@mlugg.co.uk>2023-10-24 14:28:34 +0100
commitf2814caaf04fc041a028d5ede4fb4db5ee2f19ae (patch)
tree50dfaa41d3118225cf1d3da6b31d637e657792bf /lib/std/debug.zig
parent67caf685056bcdbbe4e696cada927615b0dd6fe9 (diff)
downloadzig-f2814caaf04fc041a028d5ede4fb4db5ee2f19ae.tar.gz
zig-f2814caaf04fc041a028d5ede4fb4db5ee2f19ae.zip
Sema: don't allow undef values through resolveDefinedValue in typeof block
This logic is not correct in most cases. If any instruction needs to operate with different semantics within `@TypeOf`, it should be made to do so explicitly. This broke a line in `std.mem`: I have opted to fix this in std for now, since as far as I know it's not yet been discussed which operations (if any) should be special-cased like this within `@TypeOf`.
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions