Skip to content
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

Sytax error on final field initialized with a lambda #146

Open
udy7000 opened this issue Jan 16, 2023 · 0 comments
Open

Sytax error on final field initialized with a lambda #146

udy7000 opened this issue Jan 16, 2023 · 0 comments

Comments

@udy7000
Copy link

udy7000 commented Jan 16, 2023

Hi!

There is a class containing a field like the one below, which is parsed fine.

private SomeListener someListener = d -> getInner().setD(d);

But, if I make it final, it won't be parsed (syntax error).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant