issues/0065: RESOLVED — value-block destructure parses

The block-value rework routes value-position `{ … }` through the same
statement parser as every other block, so a destructure decl (and any
statement form) inside a value-bound block now parses, with the trailing
expression as the block's value. The `defer { … }` half was fixed
earlier (634cf9b). Regression: examples/0042-basic-block-value-destructure.sx.

Gates: zig build test, run_examples.sh -> 344 passed.
This commit is contained in:
agra
2026-06-02 09:31:18 +03:00
parent bdd0e96d78
commit 92dba9078c
5 changed files with 38 additions and 9 deletions

View File

@@ -0,0 +1 @@
12