[ 
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: 2.5.16

> 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, 2.5.16
>
>         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.20.1#820001)

Reply via email to