AST Transformation in Groovy 4.0.x VS 3.0.x

Adrien Guichard <[email protected]>
Newsgroups gmane.comp.lang.groovy.user
Message-ID <CAJHGhwD2oap-2axTxK9Js7Ur_AVj91nWLxVGCpC83dTA5PtR8w@mail.gmail.com>
Is there any guideline to port AST Transformations for Groovy 4.0 ?

I am porting Taack-UI to Groovy 4.0, and I am stuck with errors like:
[. . . ]
  General error during instruction selection: size==0
[. . .]

At the moment I just added casts at ReturnStatements. (See
https://github.com/Taack/infra/blob/main/taack-ui/src/main/groovy/taack/ast/model/TaackFieldEnumASTTransformation.groovy
)

Thanks !

--
Adrien Guichard
+ 33 6 10 78 75 88
https://taack.org
29 Boulevard Edgar Quinet
75014 Paris
France
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.