4 Commits

Author SHA1 Message Date
Alex Rønne Petersen 2e3fac3626 test: rename backend=stage2 to backend=selfhosted, and add backend=auto
backend=auto (now the default if backend is omitted) means to let the compiler
pick whatever backend it wants as the default. This is important for platforms
where we don't yet have a self-hosted backend, such as loongarch64.

Also purge a bunch of redundant target=native.
2025-09-16 23:39:26 +02:00
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
Veikka Tuominen e6ebf56dd6 Sema: validate @intToEnum int operand type 2022-07-01 10:22:25 +03:00