You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2019/07/03 06:12:00 UTC

[jira] [Resolved] (GROOVY-9184) CLONE - Use of an inner enum causes compilation to go into infinite loop - antlr2 fix

     [ https://issues.apache.org/jira/browse/GROOVY-9184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King resolved GROOVY-9184.
-------------------------------
       Resolution: Fixed
         Assignee: Paul King  (was: Daniel Sun)
    Fix Version/s: 3.0.0-beta-2

I fixed the issue and merged into master as well. You probably weren't noticing the error on the master branch since it turns out we run that test only on the new grammar. We could run the test with both grammars but since we tend to phase out antlr2 for Groovy 4, I don't think it is needed.

> CLONE - Use of an inner enum causes compilation to go into infinite loop - antlr2 fix
> -------------------------------------------------------------------------------------
>
>                 Key: GROOVY-9184
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9184
>             Project: Groovy
>          Issue Type: Bug
>          Components: class generator
>    Affects Versions: 1.7.5
>            Reporter: Roshan Dawrani
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 2.5.8, 3.0.0-beta-2
>
>
> The following piece of code causes the compilation to go into infinite loop
> {code:title=Groovy Compiler - To infinity and beyond..|titleBGColor=#FF6666}
> enum Outer {
>     A, B
>     enum Inner{X, Y}
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)