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

Use of an inner enum causes compilation to go into infinite loop

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7.5
    • Fix Version/s: 2.6.0-alpha-1
    • Component/s: class generator
    • Labels:
      None

      Description

      The following piece of code causes the compilation to go into infinite loop

      Groovy Compiler - To infinity and beyond..
      enum Outer {
          A, B
          enum Inner{X, Y}
      }
      

        Attachments

          Activity

            People

            • Assignee:
              daniel_sun Daniel Sun
              Reporter:
              roshandawrani Roshan Dawrani
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: