[
https://issues.apache.org/jira/browse/GROOVY-12835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18151460#comment-18151460
]
ASF GitHub Bot commented on GROOVY-12835:
-----------------------------------------
testlens-app[bot] commented on PR #3363:
URL: https://github.com/apache/groovy/pull/3363#issuecomment-7192368876
## ✅ All tests passed ✅
🏷️ Commit: 411dfb6b995eda8a3a7772c4c4ac0234f0ee2962
▶️ Tests: 145509 executed
⚪️ Checks: 19/19 completed
---
_Learn more about TestLens at
[testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
> Call syntax on native lambdas and coercion proxies from dynamic code
> --------------------------------------------------------------------
>
> Key: GROOVY-12835
> URL: https://issues.apache.org/jira/browse/GROOVY-12835
> Project: Groovy
> Issue Type: Improvement
> Reporter: Paul King
> Assignee: Paul King
> Priority: Major
>
> Dynamic Groovy calls a closure with f\(x), but f\(x) and f.call\(x) on a
> native lambda, a method reference or a coercion proxy (\{ it } as Function)
> throw MissingMethodException, although dynamic code receives such values from
> statically compiled code, Java libraries (Function.identity()) and as
> coercion. Let call syntax on these values invoke the abstract method of their
> functional interface, as a last resort after the existing MOP fallbacks; no
> other object becomes callable. See GEP-35 and PR #3363
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)