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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.5
    • 2.5.8, 3.0.0-beta-2
    • class generator
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment