You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2022/02/26 16:58:00 UTC

[jira] [Commented] (GROOVY-5441) Type argument checking

    [ https://issues.apache.org/jira/browse/GROOVY-5441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17498471#comment-17498471 ] 

Eric Milles commented on GROOVY-5441:
-------------------------------------

https://github.com/apache/groovy/commit/49905b56ede7cee21010e0d29d6b522a45508caa

> Type argument checking
> ----------------------
>
>                 Key: GROOVY-5441
>                 URL: https://issues.apache.org/jira/browse/GROOVY-5441
>             Project: Groovy
>          Issue Type: New Feature
>          Components: Compiler
>            Reporter: Maxim Medvedev
>            Assignee: Eric Milles
>            Priority: Major
>             Fix For: 4.0.0-beta-1, 3.0.10
>
>
> Groovyc should check at least count of type arguments used e.g. the following code should be compiled with an error "Wrong number of type arguments"
> {code}
> java.util.List<String, Integer, Boolean> list = null;
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)