Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9903

STC: @DelegatesTo error for incomplete arguments linked to first line of source

    XMLWordPrintableJSON

Details

    Description

      Consider the following:

      package bugs
      
      void m(@DelegatesTo() Closure c) {
      }
      
      @groovy.transform.TypeChecked
      void demo() {
        m {
        }
      }
      

      Error for incomplete @DelegatesTo metadata has source position for start of file.

      Attachments

        Activity

          People

            emilles Eric Milles
            emilles Eric Milles
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: