You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "John Wagenleitner (JIRA)" <ji...@apache.org> on 2015/12/01 01:56:11 UTC

[jira] [Commented] (GROOVY-6634) Annotated enum constants breaks enum

    [ https://issues.apache.org/jira/browse/GROOVY-6634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15032826#comment-15032826 ] 

John Wagenleitner commented on GROOVY-6634:
-------------------------------------------

I tested this in master and it's fixed by GROOVY-7342 so I think this can be resolved.

> Annotated enum constants breaks enum
> ------------------------------------
>
>                 Key: GROOVY-6634
>                 URL: https://issues.apache.org/jira/browse/GROOVY-6634
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.4.0-rc-1
>            Reporter: Cédric Champeau
>            Priority: Critical
>
> If you write something like this:
> {code}
> enum FooEnum {
>     foo,
>     @Deprecated bar,
>     baz,
>     blah
> }
> {code}
> Then the generated enum misses all constants after {{foo}}. There's no compilation error (and it should pass), but constants are just missing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)