cli: inspect generic uses with an explicit worklist
This commit is contained in:
1 parent
b2a0251376
commit
24a3876003
4 files changed
+183
-7
No files matched your search
@@ -454,3 +454,9 @@ A subsequent read-only Claude review against the property base 897f538 found no
|
||||
The [Q-059 source parser increment](../design/air-type-depth-audit.md#source-type-syntax-parser) replaces recursive type/argument parsing with explicit array and argument-list frames, preserving static function arguments, sibling order, split angle positions, syntax failures and slice repair candidates. Unit tests inspect deep mixed types and static arguments and fail parser metadata allocations. The old 16,384-array source crashes in parsing; the new parser allows formatting, while full checking confirms the next failure in `usesGenerics`. A deep invalid slice annotation now returns its original E7001 candidate instead of crashing. The existing generic guard is not imposed on monomorphic syntax.
|
||||
|
||||
Units/format checks and all 1,791 conformance cases pass with exact corpus coverage. Hosted grammar/advice suites pass 288/299 checks; formatter integration passes 6,072 checks over 1,467 public files. All 1,421 source checks and 506 accepted lowerings preserve exact old/new outputs, as do 156 targeted syntax/argument/error probes; deep formatting is idempotent. No normative/bundle/feature/code change or new acceptance limit is introduced. Q-059's source AST/closing audit, Q-060's closing validation and Phase 6/contract gates remain open. No fresh Claude review was available.
|
||||
|
||||
## Source generic-use detection (2026-10-10)
|
||||
|
||||
The [Q-059 generic-use increment](../design/air-type-depth-audit.md#source-generic-use-detection) visits immutable AST fields/payloads through explicit work entries, retaining the original markers and field/element order. Metadata OOM propagates and pending entries are released; monomorphic syntax gains no new depth limit. Independent shallow comparisons (387), deep positive/negative types/expressions/blocks and work-allocation failure tests pass. The earlier failing source now passes usesGenerics and confirms the next failure in lower.resolveType at 16,384 array levels; complete checking at 4,096 still accepts.
|
||||
|
||||
Units/format checks and generic/static-function CLI integration (32/25) pass. All 1,791 conformance cases pass with exact corpus coverage; all 1,421 public source checks and 506 accepted lowerings retain byte-identical old/new exit/stdout/stderr. No normative/bundle/feature/code change or semantic flag is introduced. Q-059's source lowering/closing audit, Q-060's closing validation and Phase 6/contract gates remain open. Claude's property review does not cover this increment.
|
||||
Reference in new issue
Block a user