Implements the exhaustiveness algorithm to detect non-exhaustive pattern matches: - Detects missing Bool patterns (true/false) - Detects missing Option patterns (Some/None) - Detects missing Result patterns (Ok/Err) - Recognizes wildcards and variable patterns as catch-alls - Warns about redundant patterns after catch-all patterns - Integrates with the type checker to report errors Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
12 KiB
12 KiB