You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Nathan Harvey (JIRA)" <ji...@apache.org> on 2017/12/27 19:55:00 UTC
[jira] [Updated] (GROOVY-8425) DefaultGroovyMethods don't utilize
wildcards
[ https://issues.apache.org/jira/browse/GROOVY-8425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nathan Harvey updated GROOVY-8425:
----------------------------------
Issue Type: Improvement (was: Bug)
> DefaultGroovyMethods don't utilize wildcards
> --------------------------------------------
>
> Key: GROOVY-8425
> URL: https://issues.apache.org/jira/browse/GROOVY-8425
> Project: Groovy
> Issue Type: Improvement
> Affects Versions: 2.5.0-beta-2
> Reporter: Nathan Harvey
> Labels: easyfix
>
> Several methods in DGM need to support wildcards, eg plus operators for collections. Here are some examples:
> {code}
> plus(T[], T[])
> plus(T[], T)
> plus(T[], Collection<T>)
> plus(T[], Iterable<T>)
> plus(Collection<T>, Collection<T>)
> plus(Iterable<T>, Iterable<T>)
> plus(Collection<T>, Iterable<T>
> // etc, also includes minus variants and Map variants
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)