diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2023-10-24 05:16:49 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2023-10-24 14:28:34 +0100 |
| commit | f2814caaf04fc041a028d5ede4fb4db5ee2f19ae (patch) | |
| tree | 50dfaa41d3118225cf1d3da6b31d637e657792bf /lib/std/Build/Step/WriteFile.zig | |
| parent | 67caf685056bcdbbe4e696cada927615b0dd6fe9 (diff) | |
| download | zig-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/Build/Step/WriteFile.zig')
0 files changed, 0 insertions, 0 deletions
