mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-21 00:21:30 +00:00
Phase A — Fixpoint Completeness: - Extract fixpoint loop into resolveFixpointBindings() with exhaustive switch guard - Add classDefCache to memoize lookupFuzzy results during fixpoint iteration - Post-fixpoint for-loop replay: bridge walk-time/fixpoint gap (ex-Phase 9B) - Object destructuring via fieldAccess items (TS/JS object_pattern, Rust struct_pattern) - PendingAssignmentExtractor now supports returning arrays for multi-binding patterns Phase B — Inheritance & Receivers: - BuildTypeEnvOptions object replaces positional params (future-proof API) - Heritage pre-pass: thread parent class data from query matches into buildTypeEnv - walkParentChain() helper: MRO-aware field/method resolution (depth 5, cycle-safe) - this/self/$this/Me receiver substitution at extractPendingAssignment call site - Go inc/dec write-access detection via tree-sitter queries Phase C — Branch-Sensitive Narrowing: - Rename PATTERN_BRANCH_TYPES → NARROWING_BRANCH_TYPES (semantic expansion) - Null-check narrowing: != null / !== undefined strips nullable wrapper in truthy branch - Position-indexed patternOverrides with extractor-provided narrowing ranges - TS, Kotlin, C# null-check narrowing extractors with if-body range detection All 3315 existing tests pass. 9 new null-check narrowing tests added. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| integration | ||
| unit | ||
| utils | ||
| global-setup.ts | ||
| vitest.d.ts | ||