aboutsummaryrefslogtreecommitdiff
path: root/lib/std/multi_array_list.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2023-08-13 09:54:58 +0100
committerAndrew Kelley <andrew@ziglang.org>2023-08-14 11:43:21 -0700
commit8f3ccbbe367bea66d7f0f364a957870eb2cc95a0 (patch)
tree33dad0b953904d39e75490b05f414bdbc09869bb /lib/std/multi_array_list.zig
parent1054e67f01e0f2eff1adf4982189ebba0a3696ab (diff)
downloadzig-8f3ccbbe367bea66d7f0f364a957870eb2cc95a0.tar.gz
zig-8f3ccbbe367bea66d7f0f364a957870eb2cc95a0.zip
Sema: provide source location when analyzing panic handler
The panic handler decl_val was previously given a `unneeded` source location, which was then added to the reference trace, resulting in a crash if the source location was used in the reference trace. This commit makes two trivial changes: * Don't add unneeded source locations to the ref table (panic in debug, silently ignore in release) * Pass a real source location when analyzing the panic handler
Diffstat (limited to 'lib/std/multi_array_list.zig')
0 files changed, 0 insertions, 0 deletions