aboutsummaryrefslogtreecommitdiff
path: root/test/incremental/remove_enum_field
AgeCommit message (Collapse)Author
2025-10-02Coff2: create a new linker from scratchJacob Young
2025-07-07update standalone and incremental tests to new APIAndrew Kelley
2025-01-25incr-check: check compile errors against expectedmlugg
Also modifies all incremental cases using `#expect_error` to include the errors and notes which are expected.
2025-01-15wasm linker: incremental test coverageAndrew Kelley
2024-10-05test: add x86_64-windows-cbe target to incremental casesmlugg
Throw another target in there just to spice things up a little! Running the incremental cases with the C backend is pretty slow due to the need to recompile the whole output from scratch on every update; for this reason, we probably don't want to keep many of these targeting CBE long-term. However, for now, while we have relatively few tests and things are still changing quite a lot, it's better to have this little bit of extra test coverage.
2024-09-25incr-check: specify backend in manifest, allow multiple targets/backendsmlugg
2024-08-24incremental: fix adding/removing aggregate fieldsmlugg
I don't recall why I put these checks here -- they aren't correct. We can freely recreate a type even if its fields have changed, because we are going to re-do all type resolution. The only conditions for recreations are (a) the ZIR index must not be lost and (b) the number of captures must be the same. These conditions are permissible because if either is violated, we can guarantee that analysis of a valid `zirStructDecl` (etc) will never reference this type (since the ZIR index has just been tracked, and the captures have just been created based on the ZIR). Adds a corresponding test case. Resolves: #21185