mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-21 00:21:30 +00:00
Covers all high and medium impact gaps from the Swift feature coverage analysis: 1. if let / guard let bindings: add if_statement and guard_statement to DECLARATION_NODE_TYPES, extract varName and value for Tier 2 return-type propagation (callResult, copy, fieldAccess, methodCallResult) 2. await / try expression unwrapping: add unwrapSwiftExpression() that strips await_expression and try_expression wrappers before checking for call_expression. Applied in extractPendingAssignment, extractInitializer, and scanConstructorBinding. 3. for item in collection: add extractForLoopBinding for Swift with extractSwiftElementTypeFromTypeNode that handles [User] array sugar and Array<User> generic types. Registered in typeConfig. 4. Multiple inheritance specifiers: already working — tree-sitter queries match all inheritance_specifier occurrences automatically. Verified, no code changes needed. 5. Enum case extraction: add (enum_entry (simple_identifier) @name) @definition.property query to SWIFT_QUERIES. 6. self/super resolution: unskipped both describe.skip test suites (tree-sitter-swift 0.7.1 ships prebuilds, Node 22 build issue resolved). Both pass — 5 previously-skipped tests now running. 7. Optional chaining obj?.method(): already working — tree-sitter-swift parses the ? transparently. Verified, no code changes needed. Tests: 3,603 → 3,608 (5 unskipped self/super tests) Swift tests: 23 → 28 passing Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| resolvers | ||
| augmentation.test.ts | ||
| cli-e2e.test.ts | ||
| cross-file-binding.test.ts | ||
| csv-pipeline.test.ts | ||
| enrichment.test.ts | ||
| filesystem-walker.test.ts | ||
| has-method.test.ts | ||
| hooks-e2e.test.ts | ||
| ignore-and-skip-e2e.test.ts | ||
| lbug-core-adapter.test.ts | ||
| lbug-lock-retry.test.ts | ||
| lbug-pool-stability.test.ts | ||
| lbug-pool.test.ts | ||
| local-backend-calltool.test.ts | ||
| local-backend.test.ts | ||
| parsing.test.ts | ||
| pipeline.test.ts | ||
| query-compilation.test.ts | ||
| search-core.test.ts | ||
| search-pool.test.ts | ||
| setup-skills.test.ts | ||
| skills-e2e.test.ts | ||
| staleness-and-stability.test.ts | ||
| tree-sitter-languages.test.ts | ||
| worker-pool.test.ts | ||