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/05 21:53:11 UTC

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

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

John Wagenleitner resolved GROOVY-6634.
---------------------------------------
    Resolution: Fixed

> 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
>             Fix For: 2.5.0-beta-1
>
>
> 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)