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] [Created] (GROOVY-8425) DefaultGroovyMethods don't utilize wildcards

Nathan Harvey created GROOVY-8425:
-------------------------------------

             Summary: DefaultGroovyMethods don't utilize wildcards
                 Key: GROOVY-8425
                 URL: https://issues.apache.org/jira/browse/GROOVY-8425
             Project: Groovy
          Issue Type: Bug
    Affects Versions: 2.5.0-beta-2
            Reporter: Nathan Harvey


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)