-
Notifications
You must be signed in to change notification settings - Fork 114
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
Inference issue between the diamond syntax and pattern matching (switch on objects) #1788
Milestone
Comments
It works fine in JDT master. You can try https://download.eclipse.org/eclipse/downloads/drops4/I20231223-1800/ |
srikanth-sankaran
added a commit
to srikanth-sankaran/eclipse.jdt.core
that referenced
this issue
Dec 25, 2023
3 tasks
3 tasks
srikanth-sankaran
added a commit
that referenced
this issue
Dec 25, 2023
rgrunber
pushed a commit
to eclipse-jdtls/eclipse-jdt-core-incubator
that referenced
this issue
Jan 9, 2024
* Regression test for eclipse-jdt#1788
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
the following code does not compile while it compiles with javac 21.
"Cannot infer type arguments for Entry<>" at line 24.
The text was updated successfully, but these errors were encountered: