You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Andres Almiray (JIRA)" <ji...@apache.org> on 2017/02/07 13:01:41 UTC

[jira] [Resolved] (GROOVY-7521) Support Generics with def

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

Andres Almiray resolved GROOVY-7521.
------------------------------------
    Resolution: Duplicate
      Assignee: Andres Almiray

> Support Generics with def
> -------------------------
>
>                 Key: GROOVY-7521
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7521
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Suminda Dharmasena
>            Assignee: Andres Almiray
>            Priority: Minor
>
> You cannot use generics with def. 
> {{code}}
> def <S, T> f(Map<S, T> i) { ... }
> {{code}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)