You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new antlr4-based Parrot Parser is disabled by default. To enable it, add -Dgroovy.antlr4=true to your eclipse.ini file after the -vmargs line or add a compiler config script to your project with configuration.pluginFactory = org.codehaus.groovy.control.ParserPluginFactory.antlr4(). Please note that parser recovery is not implemented for the Parrot Parser, so your editing experience may be sub-par in this mode.
Using freshly installed Eclipse:
and
Eclipse Groovy Development Tools 5.0.0.v202306301519-e2306
with Groovy Compiler Version set to 3.0.18
the code
if( methodNode.code !in BlockStatement ) return false
produces an Error marker:
Needless to say, that the code compiles and runs just fine.
See also the SO question: https://stackoverflow.com/questions/76992821/groovy-eclipse-in-operator-marked-as-error
The text was updated successfully, but these errors were encountered: