Skip to content

!in Operator marked as error #1508

@injecteer

Description

@injecteer

Using freshly installed Eclipse:

Version: 2023-06 (4.28.0)
Build id: 20230608-1333

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:

Ns5BP

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions