mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
fix dereferencing a zero bit type
Before only u0 was special cased in handling a dereference;
now all zero bit types are handled the same way. Dereferencing
a pointer to a zero bit type always gives a comptime-known
result.
This previously had been failing on master branch but went unnoticed
because until 846f72b57c the CI server was mistakenly not actually
running the single-threaded tests with --single-threaded.
This fixes the standard library tests with --single-threaded
--release-fast.
This commit is contained in:
parent
3854bb9198
commit
83390bdfdd
1 changed files with 17 additions and 14 deletions
31
src/ir.cpp
31
src/ir.cpp
Loading…
Add table
Add a link
Reference in a new issue