[
https://issues.apache.org/jira/browse/GROOVY-7967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King closed GROOVY-7967.
-----------------------------
> AstNodeToScriptAdapter should output source using the recommended modifier
> order
> --------------------------------------------------------------------------------
>
> Key: GROOVY-7967
> URL: https://issues.apache.org/jira/browse/GROOVY-7967
> Project: Groovy
> Issue Type: Bug
> Reporter: Paul King
> Assignee: Paul King
> Labels: breaking
> Fix For: 2.5.0-alpha-1
>
>
> This source file:
> {code}
> interface Foo { }
> {code}
> when 'reprinted' via the groovyConsole shows up as:
> {code}
> abstract interface public class Foo extends java.lang.Object { }
> {code}
> We don't need to have both 'interface' and 'class' and the modifier order
> should follow the JLS recommendations.
> In some sense this is a trviial change but we do have numerous tests which
> output the resulting source and check the value. We'll need to refactor those.
> It is a breaking change only if the old source order was being relied upon.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)