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

CLONE - Use of an inner enum causes compilation to go into infinite loop - antlr2 fix

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.5
    • Fix Version/s: 2.5.8, 3.0.0-beta-2
    • 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

          Issue Links

            Activity

              People

              • Assignee:
                paulk Paul King
                Reporter:
                roshandawrani Roshan Dawrani
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: