Skip to content

fix: nested switch empty fallthrough#1445

Open
xbwwj wants to merge 1 commit intodenoland:mainfrom
xbwwj:fix-no-fallthrough
Open

fix: nested switch empty fallthrough#1445
xbwwj wants to merge 1 commit intodenoland:mainfrom
xbwwj:fix-no-fallthrough

Conversation

@xbwwj
Copy link
Copy Markdown

@xbwwj xbwwj commented Jun 18, 2025

Close #1444

This PR fixes empty fallthrough case End merge logic by tracking End::Continue state of each case.

Also add a test case of boolean and operation using nested switch.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jun 18, 2025

CLA assistant check
All committers have signed the CLA.

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.

bug: false positive of no-fallthrough for empty fallthrough in nested switch

2 participants