You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/06/23 11:19:00 UTC
[jira] [Commented] (GROOVY-12100) provide Closure variants for AGM primitive each
[ https://issues.apache.org/jira/browse/GROOVY-12100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18090889#comment-18090889 ]
ASF GitHub Bot commented on GROOVY-12100:
-----------------------------------------
paulk-asert opened a new pull request, #2623:
URL: https://github.com/apache/groovy/pull/2623
(no comment)
> provide Closure variants for AGM primitive each
> -----------------------------------------------
>
> Key: GROOVY-12100
> URL: https://issues.apache.org/jira/browse/GROOVY-12100
> Project: Groovy
> Issue Type: Improvement
> Reporter: Paul King
> Assignee: Paul King
> Priority: Major
>
> The AGM primitive each variants are Consumer based which works well with explicitly typed consumers but lose the type information because the distance to each(T, Closure) is less than to each(int[], IntConsumer) etc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)