-
Notifications
You must be signed in to change notification settings - Fork 129
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
[Patterns] Mixed multiple pattern and when is not fully supported in switch expression #3109
Milestone
Comments
I'll take a look. Thanks for the defect report. |
Compiles fine on master/HEAD. Very likely a duplicate of #3003 - I'll verify, add a test case and close. |
Yes, If I move back Scanner.java to the prior version to the fix for #3003, I get these errors:
@NolwennD - are these the same errors you see ? |
srikanth-sankaran
changed the title
Mixed multiple pattern and when is not fully supported in switch expression
[Patterns] Mixed multiple pattern and when is not fully supported in switch expression
Oct 18, 2024
srikanth-sankaran
added a commit
to srikanth-sankaran/eclipse.jdt.core
that referenced
this issue
Oct 18, 2024
3 tasks
srikanth-sankaran
added a commit
that referenced
this issue
Oct 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since JEP 456 released in JDK 22 it’s possible to do this :
But Eclipse detect some errors on this valid code
Eclipse
Version: 2024-09 (4.33.0)
Build id: 20240905-0614
The text was updated successfully, but these errors were encountered: