-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
val assigning incorrect class to Arrays.asList() in Eclipse #1986
Comments
Is that a regression; did a previous version of lombok do this differently? Is is only in Eclipse, or also on javac? |
I tried it with 1.14.6, 1.16.10, 1.16.16, and latest version 1.18.4, both in Eclipse and on the command line. Error is the same: |
And by "on the command line", I mean I compiled it with javac in a terminal window (not from Eclipse's UI). |
Wow, good catch. |
I cannot reproduce the problem using 1.18.6 and javac 11. |
Oh, and we will not create |
Can you verify your Eclipse works with the latest edge release? |
Yup, works now. Thanks for the fix! |
In the latest version of lombok and Eclipse, val is incorrectly assigning variable "x" to Object instead of List<Class<? extends java.io.Serializable>> in the code below:
The text was updated successfully, but these errors were encountered: