diff options
| author | LemonBoy <thatlemon@gmail.com> | 2019-10-19 16:20:30 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-10-19 13:48:26 -0400 |
| commit | 6f7939a452e69b77581f5390b8075e9dfa81b03e (patch) | |
| tree | 4b671d6369b5508ca6ce718fad2df3a1fd23cf6e /lib/std/debug.zig | |
| parent | bab93e75611de79a1a1e898b0c9e45905817189f (diff) | |
| download | zig-6f7939a452e69b77581f5390b8075e9dfa81b03e.tar.gz zig-6f7939a452e69b77581f5390b8075e9dfa81b03e.zip | |
Prevent too eager constant-folding of switch expression
A pointer was wrongly assumed to be comptime-available causing the
analysis pass to assume its initial value was constant.
Fixes #3481
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions
