Groovy delegated methods not found from Java code.

Answered

I have a Groovy class Foo with a member @Delegate Bar bar (also a Groovy class). I get a compilation error wherever Java code attempts to call any delegated method. This issue seems similar to IDEA-78555, but that issue is marked as resolved. For what it's worth, the editor seems able to figure things out, and CTRL clicking does take me to the delegated method. Do I need to configure something to make the compilation work? I'm using IntelliJ IDEA 2016.3.4, Java 1.8, and Groovy 2.4.7.

0
2 comments

Please file a bug with the reproducible test case at https://youtrack.jetbrains.com/issues/IDEA.

0
Avatar
Permanently deleted user

Okay, done.

0

Please sign in to leave a comment.