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 2021/03/02 23:03:00 UTC

[jira] [Updated] (GROOVY-9903) STC: @DelegatesTo error for incomplete arguments linked to first line of source

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

Eric Milles updated GROOVY-9903:
--------------------------------
    Fix Version/s: 3.0.8

> STC: @DelegatesTo error for incomplete arguments linked to first line of source
> -------------------------------------------------------------------------------
>
>                 Key: GROOVY-9903
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9903
>             Project: Groovy
>          Issue Type: Bug
>          Components: Static Type Checker
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Minor
>             Fix For: 3.0.8, 4.0.0-alpha-3
>
>         Attachments: image-2021-01-20-15-06-14-055.png
>
>
> Consider the following:
> {code:groovy}
> package bugs
> void m(@DelegatesTo() Closure c) {
> }
> @groovy.transform.TypeChecked
> void demo() {
>   m {
>   }
> }
> {code}
> Error for incomplete {{@DelegatesTo}} metadata has source position for start of file.
>  !image-2021-01-20-15-06-14-055.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)