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

void[] return type causes compiler to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.13
    • 2.5.9, 3.0.0-rc-2
    • Compiler
    • None

    Description

      $ cat playground.groovy
      void[] foo() {}
      $ groovy playground.groovy
      BUG! exception in phase 'conversion' in source unit '%path%/playground.groovy' null
      Caused by: java.lang.IllegalArgumentException
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h