You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem is observable on 4.32 as well as 4.31 (with preview enabled)
srikanth-sankaran
changed the title
Wildcard patterns inside of or patterns fail to parse
Unnamed patterns inside of multi case patterns fail to parse
Sep 16, 2024
This code:
works in IntelliJ with OpenJDK 22 but in Eclipse 4.33 using the Eclipse compiler it gives the error messages:
It seems that this may be because a wildcard pattern is used inside of an or pattern. Expanding the or pattern like:
results in no compile errors.
The text was updated successfully, but these errors were encountered: