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

The spread-call syntax is statically compiled for collections, but not for arrays

    XMLWordPrintableJSON

    Details

      Description

      @groovy.transform.CompileStatic
      class Test {
          def passing = 'a,b,c'.split(/,/).toList()*.trim()
          def failing = 'a,b,c'.split(/,/)*.trim()
      }
      

        Attachments

          Activity

            People

            • Assignee:
              melix C├ędric Champeau
              Reporter:
              ddimitrov Dimitar Dimitrov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: