-
-
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 inside Java 8 lambda expressions #911
Comments
I am also using the latest version of Lombok as well (1.16.6) |
Indeed. This does not compile and indicates that the
|
Still fails on 1.16.8 on javac. Works fine with ecj. |
I have been experiencing this for a while. I always avoid using |
Is fixed in the edge release and will be part of the next release. Can someone verify this on their code base? |
Still fails in Lombok 1.16.16 (latest stable version) |
FWIW, it works great for me in 1.16.12. |
I'm building a project using Gradle 2.5 and JDK 1.8.
Something outside of a lambda compiles correctly. e.g.
However if trying to compile something inside a lambda:
I receive this error:
Is Lombok supported with lambda expressions? I recall someone running into an issue with "val" when dealing with nested classes... not sure if it's somewhat related with this issue.
The text was updated successfully, but these errors were encountered: