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 requireNonNull call with reusable selectors and fix default being removed from exhaustive switch statements #436

Conversation

coehlrich
Copy link
Contributor

fixes Objects.requireNonNull not being removed when the selector for the switch statement is reusable and fixes the default case value being removed from switches that are required to be exhaustive.

default being removed from switch statements that are required to be
exhaustive
@jaskarth jaskarth added Type: Enhancement New feature or request Subsystem: Statement Structure Anything concerning how statements are structured in a method Priority: High High priority labels Dec 4, 2024
Copy link
Member

@jaskarth jaskarth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the work, and sorry for the delay! This looks good to me.

@jaskarth jaskarth merged commit 3da350a into Vineflower:develop/1.11.0 Dec 4, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High High priority Subsystem: Statement Structure Anything concerning how statements are structured in a method Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants