Xiaoguang Wang created GROOVY-8470:
--------------------------------------

             Summary: dead loop when compiling 'enum in enum without semicolon'
                 Key: GROOVY-8470
                 URL: https://issues.apache.org/jira/browse/GROOVY-8470
             Project: Groovy
          Issue Type: Bug
          Components: Compiler
    Affects Versions: 2.4.13
            Reporter: Xiaoguang Wang


{code:java}
enum EnumA {

    EA(EnumB.EB);   // without a semicolon here, the groovyc enters dead loop

    enum EnumB { EB }
    private EnumA(EnumB enumB) {
    }
}
{code}



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

Reply via email to