mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
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. |
||
|---|---|---|
| .. | ||
| add_decl | ||
| add_decl_namespaced | ||
| change_fn_type | ||
| change_shift_op | ||
| change_struct_same_fields | ||
| compile_error_then_log | ||
| delete_comptime_decls | ||
| fix_astgen_failure | ||
| fix_many_errors | ||
| function_becomes_inline | ||
| hello | ||
| modify_inline_fn | ||
| move_src | ||
| recursive_function_becomes_non_recursive | ||
| remove_enum_field | ||
| remove_invalid_union_backing_enum | ||
| type_becomes_comptime_only | ||
| unreferenced_error | ||