groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GROOVY-7806) @interface has too-stringent requirement for newline
Date Fri, 01 Apr 2016 21:41:25 GMT

    [ https://issues.apache.org/jira/browse/GROOVY-7806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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 <jwagenleitner@apache.org>
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)

Mime
View raw message