docs(issues): mark 17 already-fixed issues RESOLVED with verified banners

Each banner was re-verified against the current binary (repro now behaves
correctly) and cites the actual fix location in current src/** plus the covering
regression example. Closes the stale-but-fixed backlog: 0019, 0042-0056, 0131.
No compiler change.
This commit is contained in:
agra
2026-06-21 09:25:52 +03:00
parent 4fc5411cd9
commit c21b683b08
17 changed files with 118 additions and 0 deletions

View File

@@ -1,4 +1,11 @@
**FIXED** via the `xx <pack>` bridge (the preferred fix below), not by changing
> **RESOLVED.** Spreading a comptime pack into a `[]Any`/`[]P` parameter via `xx args` previously
> hit the pack-as-value diagnostic ("pack has no runtime value") before `xx` was considered, so no
> slice was ever materialized. Fixed by intercepting `xx <pack>` with a slice target in the
> `unary_op .xx` arm of `lowerExpr` (`src/ir/lower/expr.zig`) *before* lowering the operand, calling
> `lowerPackToSlice` (`src/ir/lower/pack.zig:167`) to box/erase each element into a runtime `[N]elem` → `[]elem`.
> Covered by regression test `examples/0537-packs-pack-xx-to-slice.sx`.
the `..args` spread. `xx args` with a slice target now materializes the pack
into a runtime `[]Any`/`[]P` — see [examples/204-pack-xx-to-slice.sx](../examples/204-pack-xx-to-slice.sx).
`lowerXX`/the unary-op arm intercepts `xx <pack>` before the pack-as-value