Return-Path: X-Original-To: apmail-groovy-notifications-archive@minotaur.apache.org Delivered-To: apmail-groovy-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B66ED18A2D for ; Fri, 1 Apr 2016 21:41:26 +0000 (UTC) Received: (qmail 58689 invoked by uid 500); 1 Apr 2016 21:41:25 -0000 Delivered-To: apmail-groovy-notifications-archive@groovy.apache.org Received: (qmail 58578 invoked by uid 500); 1 Apr 2016 21:41:25 -0000 Mailing-List: contact notifications-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list notifications@groovy.apache.org Received: (qmail 58363 invoked by uid 99); 1 Apr 2016 21:41:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2016 21:41:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8C6982C1F64 for ; Fri, 1 Apr 2016 21:41:25 +0000 (UTC) Date: Fri, 1 Apr 2016 21:41:25 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: notifications@groovy.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GROOVY-7806) @interface has too-stringent requirement for newline MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 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)