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 2016/04/10 06:17:25 UTC
[jira] [Closed] (GROOVY-7415) Cannot have abstract methods in enum
when using joint compilation
[ https://issues.apache.org/jira/browse/GROOVY-7415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-7415.
-----------------------------
Resolution: Duplicate
Assignee: Paul King
Thanks for spotting that Piotr. I presume this is a duplicate of GROOVY-7747 which was fixed in 2.4.6.
> Cannot have abstract methods in enum when using joint compilation
> -----------------------------------------------------------------
>
> Key: GROOVY-7415
> URL: https://issues.apache.org/jira/browse/GROOVY-7415
> Project: Groovy
> Issue Type: Bug
> Components: Stub generator / Joint compiler
> Affects Versions: 2.4.3
> Reporter: Mark Vieira
> Assignee: Paul King
> Labels: contrib
>
> When using joint compilation, if an Groovy enum has defined an abstract method, the groovyc generated stub is marked as abstract, which then fails to compile because the abstract modifier is not allowed on enums.
> {code}
> error: modifier abstract not allowed here
> public abstract enum Foo
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)