martinhath 3fa5415253
Sema: ensure resolveTypeFields is called for optional and error union types
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
2022-08-26 11:37:17 +03:00
..
2022-02-22 21:57:42 +01:00
2021-06-21 17:03:03 -07:00
2022-03-05 11:31:51 +01:00
2022-03-09 13:53:20 -07:00
2022-07-23 15:40:11 +03:00
2022-03-09 13:53:20 -07:00
2022-03-09 13:53:20 -07:00
2022-03-08 21:10:04 +01:00
2022-03-18 15:02:52 -07:00
2022-02-09 10:28:48 +01:00
2022-03-09 13:53:20 -07:00
2022-03-26 21:20:29 +01:00
2022-03-23 21:40:33 +01:00
2022-03-09 13:53:20 -07:00
2022-03-23 21:40:33 +01:00
2022-05-26 21:58:19 -07:00
2022-03-23 21:40:33 +01:00
2022-05-26 21:58:19 -07:00
2022-05-27 10:29:24 +03:00