cli: resolve source annotations with explicit continuations
This commit is contained in:
1 parent
24a3876003
commit
b23f3e678e
4 files changed
+274
-49
No files matched your search
@@ -479,6 +479,8 @@ The [source parser increment](air-type-depth-audit.md#source-type-syntax-parser)
|
||||
|
||||
The [source generic-use increment](air-type-depth-audit.md#source-generic-use-detection) replaces the confirmed recursive AST scan with explicit borrowed work entries. Generic-use markers, field order and the specialization path are unchanged; independent shallow comparisons, deep positive/negative ASTs and failed-allocation cleanup cover the query. The repeated 16,384-array check now passes this stage and confirms the next native-stack failure in lower.resolveType. Source lowering/remaining traversals and the closing audit keep Q-059 open; no generic guard is imposed on monomorphic parsing.
|
||||
|
||||
The [source annotation resolution increment](air-type-depth-audit.md#source-annotation-resolution) replaces recursive source-to-Ty construction with explicit continuations while preserving pre/post checks and error positions. Deep isolated resolution succeeds; complete checking exposes the next confirmed failure in type_properties.firstInvalid. Source property traversal, diagnostic text and closing call-path checks remain open; no universal source depth limit is added.
|
||||
|
||||
## Q-060 — Native recursion while materializing runtime values
|
||||
|
||||
The [executed runtime audit](runtime-value-depth-audit.md) confirms that a verified one-byte value with 32,768 length-one nested arrays aborts inside zeroValue under `aji run --fuel 8`, rather than producing a run record. The instruction has not exhausted fuel. Iterative runtime traversal must preserve initialization, value shape, allocator/root lifetimes, collection safety and instruction accounting; adding a depth trap/acceptance limit needs a normative decision. At that baseline, recursive copying, value sizing, collection and serialization were additional audit candidates with unverified failure paths; the increment below records subsequent executed failures. Compiler type repairs in Q-059 do not resolve Q-060.
|
||||
|
||||
Reference in new issue
Block a user