Skip to content

Fix catch-flow, exhaustive-catch, and helper edge-case precision - #13

Merged
bisubus merged 13 commits into
masterfrom
fix-catch-and-flow-precision
Nov 3, 2026
Merged

bisubus merged 13 commits into
masterfrom
fix-catch-and-flow-precision

Conversation

@bisubus

@bisubus bisubus commented Nov 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Unwrap block-scoped switch statements and continue jumps in catch-flow slicing and exhaustive catch analysis.
  • Allow disjoint error guards to exit before cancel guards in catch handlers.
  • Route inner catch trailing rethrows through kept guard types and filter handled discriminant switch cases.
  • Deduplicate carrier union failures after stripping unlisted marker types.
  • Preserve intersected failure members beside unlisted markers and evaluate shield options with last-wins precedence.
  • Support satisfies expressions on yielded loop steps and default destructured factory imports.

Testing

  • vitest: 2885 passed, 10 skipped across 92 test files.
  • integration: 8/8 passed across test lanes 9 and 10.
  • package smoke: passed across all import and require entry points.
  • typecheck, lint, docs check, text style, and range sweep clean.

@bisubus
bisubus merged commit b868276 into master Nov 3, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant