You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "JAMIE ECHLIN (JIRA)" <ji...@apache.org> on 2015/09/22 18:25:05 UTC

[jira] [Created] (GROOVY-7598) type checking with generics

JAMIE ECHLIN created GROOVY-7598:
------------------------------------

             Summary: type checking with generics
                 Key: GROOVY-7598
                 URL: https://issues.apache.org/jira/browse/GROOVY-7598
             Project: Groovy
          Issue Type: Bug
          Components: Static Type Checker
            Reporter: JAMIE ECHLIN
            Assignee: Cédric Champeau


The following compiles without error... I don't think it should:

{code}
import groovy.transform.TypeChecked

@TypeChecked
class C extends Script {

    @Override
    List<String> run() {
        [11, 12]
    }
}
{code}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)