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

review: fix: Correct wrong switch behaviours (#5730, #5731) #5732

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

Mr-Pine
Copy link
Contributor

@Mr-Pine Mr-Pine commented Apr 5, 2024

This adds fixes for #5730 and #5731
As a side effect of the fix for #5731 fall through cases now connect to the statement block of the next case instead of the following case expression, which in my opinion makes more sense anyway.

@Mr-Pine Mr-Pine changed the title fix: Correct wrong switch behaviours (#5730, #5731) review: fix: Correct wrong switch behaviours (#5730, #5731) Apr 5, 2024
@Mr-Pine
Copy link
Contributor Author

Mr-Pine commented Apr 6, 2024

This is now also covered by #5742

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.

2 participants