diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-04-05 20:18:26 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-04-05 20:18:26 -0400 |
| commit | 83390bdfdde211a73be42e16a41cd2102c429bbd (patch) | |
| tree | 17854868d8d75183e653f9ab630f5c8569215ec3 /src/errmsg.cpp | |
| parent | 3854bb919808b8d86154495fee1acc7e645240a4 (diff) | |
| download | zig-83390bdfdde211a73be42e16a41cd2102c429bbd.tar.gz zig-83390bdfdde211a73be42e16a41cd2102c429bbd.zip | |
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 846f72b57cb5 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.
Diffstat (limited to 'src/errmsg.cpp')
0 files changed, 0 insertions, 0 deletions
