[
https://issues.apache.org/jira/browse/GROOVY-7806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Wagenleitner resolved GROOVY-7806.
---------------------------------------
Resolution: Fixed
Assignee: John Wagenleitner
Fix Version/s: 2.4.7
Thanks for reporting the issue.
> @interface has too-stringent requirement for newline
> ----------------------------------------------------
>
> Key: GROOVY-7806
> URL: https://issues.apache.org/jira/browse/GROOVY-7806
> Project: Groovy
> Issue Type: Bug
> Components: syntax
> Affects Versions: 2.4.6
> Reporter: Hack Ster
> Assignee: John Wagenleitner
> Priority: Minor
> Fix For: 2.4.7
>
>
> {code}
> // this causes an error
> @interface ANNOTATION_A
> {
> }
> {code}
> {code}
> // this does not cause an error
> @interface ANNOTATION_A {
> }
> {code}
> the first example should work , it does (for example) work for a class :
> {code}
> // this does not cause an error
> class CLASS_A
> {
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)