You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Hack Ster (JIRA)" <ji...@apache.org> on 2016/04/01 19:50:25 UTC
[jira] [Created] (GROOVY-7806) @interface has too-stringent
requirement for newline
Hack Ster created GROOVY-7806:
---------------------------------
Summary: @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)