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

@interface has too-stringent requirement for newline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.6
    • 2.4.7
    • syntax
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: