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

Conflict between @Generated and @Delegate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.3
    • 3.0.0-alpha-4, 2.5.3
    • None
    • None

    Description

      I get 
      java.lang.annotation.AnnotationFormatError: Duplicate annotation for class: interface groovy.transform.Generated: @groovy.transform.Generated()
      On a class with a field declared with @Delegate

       

      Removing @Delegate works around the problem

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              facewindu François Guillot
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: