Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-7806

@interface has too-stringent requirement for newline

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.6
    • Fix Version/s: 2.4.7
    • Component/s: syntax
    • Labels:
      None

      Description

      // this causes an error
      @interface ANNOTATION_A 
      {
      }
      
      // this does not cause an error
      @interface ANNOTATION_A  {
      }
      

      the first example should work , it does (for example) work for a class :

      // this does not cause an error
      class CLASS_A 
      {
      }
      

        Attachments

          Activity

            People

            • Assignee:
              jwagenleitner John Wagenleitner
              Reporter:
              hackst8r Hack Ster
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: