aboutsummaryrefslogtreecommitdiff
path: root/src/Zir.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-05-05 14:56:10 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-05-05 15:09:35 -0400
commitda878dc0776b56c1e2c251857a40415a35e9535a (patch)
treee575289a4a6145619f378987306d1913b7a94d84 /src/Zir.zig
parentd70853ba39cb1694d91a763ea8492f3aed1494a7 (diff)
downloadzig-da878dc0776b56c1e2c251857a40415a35e9535a.tar.gz
zig-da878dc0776b56c1e2c251857a40415a35e9535a.zip
AstGen: fix branch on undefined
`isAlwaysVoid` was being called with the undefined tag added by `addOne`, causing non-deterministic behavior failures with release builds of the compiler. Prevents the following random failure: test/behavior/defer.zig:120:40: error: expected type 'error{One}', found 'void'
Diffstat (limited to 'src/Zir.zig')
0 files changed, 0 insertions, 0 deletions