6 Commits

Author SHA1 Message Date
Jieyou Xu
2dd9cc1130 Reject union default field values 2025-06-17 07:27:58 +08:00
Jieyou Xu
32c0cb0f5a Add union with default field values case test
In particular, there should be no additional errors (default field
values for `union` fields are currently erroneously accepted).
2025-06-16 17:54:13 +08:00
Vadim Petrochenkov
20faf8532b compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
Michael Goulet
250b848272 Make error message for missing fields with .. and without .. more consistent 2025-04-07 20:45:08 +00:00
Michael Goulet
3e5fddc95e Allow struct field default values to reference struct's generics 2025-03-04 01:00:55 +00:00
Michael Goulet
ad30caebdd Move default-field-values tests into a subdirectory 2024-12-14 18:05:19 +00:00