paulk-asert commented on PR #2097:
URL: https://github.com/apache/groovy/pull/2097#issuecomment-2210872828

   I'll write an email to the dev list shortly and await feedback before 
merging. 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. But we 
could also make some assumptions and use a `Consumer` and make it work for 
statically compiled code.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to