ASF GitHub Bot commented on GROOVY-7967:

Github user asfgit closed the pull request at:


> 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
> 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

Reply via email to