mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
We call `sema.resolveTypeFields` in order to get the fields of structs and unions inserted into their data structures. If it isn't called, it can happen that the fields of a type is queried before those fields are inserted into (for instance) `Module.Union.fields`, which would result in a wrong 'no field named' error. Fixes: #12486
196 lines
7.9 KiB
196 lines
7.9 KiB