[ 
https://issues.apache.org/jira/browse/GROOVY-12100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King updated GROOVY-12100:
-------------------------------
    Description: 
The AGM primitive each variants are Consumer based which works well with 
explicitly typed consumers but lose the type information when type checker.
This is because the distance to each(T, Closure) is less than to each(int[], 
IntConsumer) etc.

  was: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.


> 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
>             Fix For: 6.0.0-alpha-2
>
>
> The AGM primitive each variants are Consumer based which works well with 
> explicitly typed consumers but lose the type information when type checker.
> This is 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)

Reply via email to