On 29.06.23 16:24, Milles, Eric (TR Technology) via dev wrote:
Thanks for raising that issue. It has been a limitation for some folks for
quite a while. I am very keen to improve our joint compilation process if we
can.
I was actually wondering if someone really still cares.
I do get issues quite often (for groovy-eclipse tooling) that expect traits,
@PackageScope, @TupleConstructor and so on to be cross-compatible with Java
code in the same project. I have experimented with improving the experience,
with some success but also some circular dependency issues.
https://github.com/groovy/groovy-eclipse/commit/9e1f1a753cecba8320da3fba757b7d64cfd091a5
I was wondering if groovy-eclipse would actually gain something from a
project in which we first collect Java Class Nodes, then compile Groovy
against them, then compile actual Java against the resulting Groovy
ClassNodes. I do not know how the different phases interact in JDT and
the GroovyCompiler.
bye Jochen