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

It is allowed to define local variable of void type

    XMLWordPrintableJSON

Details

    Description

      bugs.groovy
      void ff = 1
      println ff
      
      java.lang.ClassFormatError: Field "ff" in class bugs has illegal signature "V"
      

      Attachments

        Activity

          People

            daniel_sun Daniel Sun
            daniilo Daniil Ovchinnikov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: