Skip to content

Switch exprs must be transformed rather than wrapped in statements #10122

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

niloc132
Copy link
Member

Fixes #10121

@niloc132 niloc132 added this to the 2.13 milestone Apr 30, 2025
@niloc132
Copy link
Member Author

Passing full build with these changes: https://github.com/niloc132/gwt/actions/runs/14758647135

@@ -124,6 +124,9 @@ public void testInlinedStringConstantsInCase() {
public void testCaseArrowLabelsVoidExpression() {
assertFalse(isGwtSourceLevel17());
}
public void testUnusedSwitchExprResult() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe add a newline above?

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.

Optimize level 9 breaks java 14 Type myVar = switch expressions compilation
2 participants