[jira] [Commented] (GROOVY-7806) @interface has too-stringent requirement for newline

2016-04-02 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/GROOVY-7806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15223093#comment-15223093
 ] 

ASF GitHub Bot commented on GROOVY-7806:


Github user asfgit closed the pull request at:

https://github.com/apache/groovy/pull/301


> @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
>Priority: Minor
>
> {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)


[jira] [Commented] (GROOVY-7806) @interface has too-stringent requirement for newline

2016-04-01 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/GROOVY-7806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15222379#comment-15222379
 ] 

ASF GitHub Bot commented on GROOVY-7806:


GitHub user jwagenleitner opened a pull request:

https://github.com/apache/groovy/pull/301

GROOVY-7806 - @interface has too-stringent requirement for newline



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/jwagenleitner/groovy GROOVY-7806

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/groovy/pull/301.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #301


commit a7bb1c15bf4bef4ca5bf2da3648f3054fb06155c
Author: John Wagenleitner 
Date:   2016-04-01T21:21:57Z

GROOVY-7806 - @interface has too-stringent requirement for newline




> @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
>Priority: Minor
>
> {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)