cli: lower ordinary call arguments iteratively

This commit is contained in:
dev committed 2026-10-10 22:53:35 +03:00
1 parent bda43d2ecb
commit 0791a50eb9
5 files changed
+648 -126

No files matched your search

+23 -2
View File
@@ -632,7 +632,28 @@ formatter passes 6,078 checks; frozen old/new public checks/lowerings remain
exact (1,423/506). Grouped source checks reach 65,536; mixed-call formatting reaches
65,536. Block/if regression probes preserve accepted baseline output, including
256 levels; explicit-return forms improve from baseline aborts to formatting
at 256. These are bounded probes, not a whole-parser depth guarantee. Full
mixed-call checking now confirms a lowerer `call` abort at 1,024; control/block
at 256. These are bounded probes, not a whole-parser depth guarantee. At this
checkpoint, full mixed-call checking confirmed a lowerer `call` abort at 1,024; control/block
parsing, remaining expression/statement/liveness walks, Q-060 validation and
Phase 6 exit gates remain open. No external review covers this increment yet.
### Ordinary-call depth increment
The [Q-061 ordinary-call increment](../design/source-expression-depth-audit.md#ordinary-call-argument-continuations)
shares argument continuations with scalar operands. Signature/arity/origin
checks, left-to-right consumption, exact argument checks, temporary endings,
retained parents and instruction/span/CFG order are preserved. Stable states
live in the caller's arena; recovering/persistent OOM remains a host error and
arena backing is freed. No semantic/bundle/feature/code/limit changes.
Independent shallow/deep call and OOM tests, build/units/format checks and all
1,793 ordinary conformance cases with exact coverage pass. Call-related CLI
suites pass 133/85/42/25/635/234 checks. Frozen public checks/lowerings remain
exact (1,423/506). Bounded native `assert`/block/if probes
retain exact baseline outputs through 256; this does not claim whole-callback
safety. Direct/mixed/generic call checks and lowerings now reach 65,536 with
exact bounded values/fuel; 262 focused depth CLI checks pass. The mixed-call
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.