diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-01-01 13:30:27 +0000 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-01-01 15:49:37 +0000 |
| commit | f0d5e0df4d95c06287e0fe3fe48b69daf5306c8f (patch) | |
| tree | b4f177522ebba9e27ce9745255f321d194de6e82 /src/codegen/spirv.zig | |
| parent | ba78d79228e6b62a3b5fe9d1fafac18da252e4d6 (diff) | |
| download | zig-f0d5e0df4d95c06287e0fe3fe48b69daf5306c8f.tar.gz zig-f0d5e0df4d95c06287e0fe3fe48b69daf5306c8f.zip | |
incremental: fix errors not being deleted upon re-analysis
Previously, logic in `Compilation.getAllErrorsAlloc` was corrupting the
`failed_analysis` hashmap. This meant that on updates after the initial
update, attempts to remove entries from this map (because the `AnalUnit`
in question is being re-analyzed) silently failed. This resulted in
compile errors from earlier updates wrongly getting "stuck", i.e. never
being removed.
This commit also adds a few log calls which helped me to find this bug.
Diffstat (limited to 'src/codegen/spirv.zig')
0 files changed, 0 insertions, 0 deletions
