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 2018/02/05 05:26:00 UTC
[jira] [Commented] (GROOVY-8470) dead loop when compiling 'enum in
enum without semicolon'
[ https://issues.apache.org/jira/browse/GROOVY-8470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352049#comment-16352049 ]
Paul King commented on GROOVY-8470:
-----------------------------------
Possibly duplicates: GROOVY-8315 (that was reported as possibly being an Eclipse issue but it could be Groovy itself)
> 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
> Priority: Major
>
> {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)