Commit Graph

4 Commits

Author SHA1 Message Date
mlugg
605f2a0978 cases: update for new error wording, add coverage for field/decl name conflict 2024-08-29 23:43:52 +01:00
David Rubin
1b8f7e46fa AstGen: detect duplicate field names
This logic was previously in Sema, which was unnecessary complexity, and meant the issue was not detected unless the declaration was semantically analyzed. This commit finishes the work which 941090d started.

Resolves: #17916
2024-01-20 17:23:47 +00:00
David
941090d94f Move duplicate field detection for struct init expressions into AstGen
Partially addresses #17916.
2023-11-16 14:38:16 +00:00
Veikka Tuominen
327fb798c3 move stage2 compile errors out of special folder 2022-12-14 14:05:57 +02:00