cli: lower struct fields iteratively

This commit is contained in:
dev committed 2026-10-11 00:22:18 +03:00
1 parent 0791a50eb9
commit 6d2c4d40a8
5 files changed
+557 -53

No files matched your search

+24
View File
@@ -657,3 +657,27 @@ abort at 1,024 is repaired, while a separate alternating
struct/field program still aborts there in both binaries. Remaining Q-061
callbacks/walks, Q-060 validation and Phase 6 exit gates remain open. No fresh
external review covers this increment.
### Struct/value-field depth increment
The [Q-061 struct/value-field increment](../design/source-expression-depth-audit.md#struct-construction-and-value-field-continuations)
shares constructor fields and value receivers with scalar/call continuations.
Declaration-order consumption, duplicate/unknown/missing-field priority,
receiver-first queries, deferred annotation checks and nominal/static/slice
length rules are preserved. Stable states remain in the caller's arena; host
OOM never becomes a source diagnostic, and backing failures free that arena.
Borrow/place helpers retain their existing rules and native callbacks.
Independent shallow (864) and 32,768-level mixed comparisons, recovering/
persistent OOM tests, build/units/format and all 1,793 ordinary conformance
cases with exact coverage pass. Call/ownership CLI checks (635/49/348/133/302/
152/42/234) and frozen public check/lower parity (1,423/506) pass. Bounded native
assert/block/if probes remain exact through 256. The focused depth CLI suite
passes 302 checks: pure/length/generic chains accept at 65,536; mixed chains
accept at 32,768 and reach the existing instruction limit at 65,536. The
struct/field abort at 1,024 is repaired; nested array literals still abort at
4,096 in both binaries.
No normative/bundle/feature/code/limit or ownership/runtime rule changes.
Remaining Q-061 callbacks/walks, Q-060 validation and Phase 6 exit gates remain
open. Independent read-only Claude core/follow-up reviews found no concrete
defects; neither ran tests or established whole-Q-061 completion.