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

Java 8 lambda style doesn't work #1294

Closed
ivan-vanek opened this issue Aug 25, 2021 · 1 comment
Closed

Java 8 lambda style doesn't work #1294

ivan-vanek opened this issue Aug 25, 2021 · 1 comment

Comments

@ivan-vanek
Copy link

When I want use Java 8 lambda style Groovy script then plugin show error

Multiple markers at this line
	- Groovy:expecting EOF, found '->'
	- Groovy:expecting ')', found '->'

code (example from https://groovy-lang.org/releasenotes/groovy-3.0.html)

(1..10).forEach(e -> { println e })

I have setup Groovy compiler 3.0.8 version
obrazek

@eric-milles
Copy link
Member

#1290 #1107 #1011

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

No branches or pull requests

2 participants