Skip to content

Require loop advance on every path and complete guard corpus coverage - #12

Merged
bisubus merged 7 commits into
masterfrom
fix-loop-advance-paths
Nov 3, 2026
Merged

bisubus merged 7 commits into
masterfrom
fix-loop-advance-paths

Conversation

@bisubus

@bisubus bisubus commented Nov 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Require loop handle advancement on every non-exiting path in loop bodies.
  • Match loop handle advances by lexical variable reference and unwrap receiver type expressions.
  • Honor try-finally loop advances executed prior to continue statements.
  • Add corpus fixture coverage and test assertions for branded error name checks.
  • Document path-exhaustive advance checks in require-loop-advance rule documentation.

Testing

  • vitest: 2789 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 1ccf98e 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