aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_hash_map.zig
diff options
context:
space:
mode:
authorsin-ack <sin-ack@users.noreply.github.com>2022-08-12 21:51:07 +0000
committerVeikka Tuominen <git@vexu.eu>2022-08-15 11:34:12 +0300
commita9c4dc84f487c4764c5787439ea87962f698d511 (patch)
tree79f795fe801b9fe79dd80bcbf4eb155806331a4b /lib/std/array_hash_map.zig
parent40eac90280db34afd31da5ad0e6be8a4795f858b (diff)
downloadzig-a9c4dc84f487c4764c5787439ea87962f698d511.tar.gz
zig-a9c4dc84f487c4764c5787439ea87962f698d511.zip
Sema: Revert sema.err to null if the Decl already has an error
Previously we would assign the error message to Sema and then never clear it even when destroying the error message, which caused memory corruption. Closes #12437
Diffstat (limited to 'lib/std/array_hash_map.zig')
0 files changed, 0 insertions, 0 deletions