Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rules for switch statement exhaustiveness #620

Merged
merged 3 commits into from
Nov 21, 2023
Merged

Fix rules for switch statement exhaustiveness #620

merged 3 commits into from
Nov 21, 2023

Conversation

wmdietl
Copy link
Member

@wmdietl wmdietl commented Nov 20, 2023

The typetools fix for the issue corresponding to #609 is to remove dead code from the CFG.
I do not see a reason to call this location dead, so instead, this fixes the CFG construction for switch statements.

Fixes #609.

@wmdietl wmdietl merged commit 548c5ce into master Nov 21, 2023
42 checks passed
@wmdietl wmdietl deleted the issue-609 branch November 21, 2023 16:21
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.

Type becomes @UnknownInitialization after switch
1 participant