I updated that old comment. It does now work with
@TypeChecked/@CompileStatic. The "dangling" method comment was short
for, the "with" method (in previous PR) isn't recognized as having a
functional interface.
Paul.
On Sun, Jul 21, 2024 at 8:35 AM MG wrote:
>
> Hi Paul,
>
> is this commentz stil
Hi Paul,
is this commentz still valid: "As currently designed, it works for
dynamic Groovy and/fails when using static compilation/. This is kind of
as I'd expect since we have a "dangling" method reference not associated
with a functional interface."
Applied to your example, why would Perso
Hi folks,
I created a PR here:
https://github.com/apache/groovy/pull/2097
For issue GROOVY-11432:
https://issues.apache.org/jira/browse/GROOVY-11432
It provides a fairly simple mechanism to support method
references/method pointers in annotation members. It piggybacks on the
existing closure s