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

groovyc does not allow multiple annotations of the same type even if Retention Policy is SOURCE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.6.8, 1.7-rc-2
    • None
    • None

    Description

      This issue got highlighted in GROOVY-3925 discussion.

      GROOVY-3852 disallowed duplicate annotations of the same type on the same member, but instead of doing it only for annotations with retention-policy as RUNTIME, it applies it as a general check, which is coming in the way of using multiple @GrabResolver annotations.

      I am creating this separate JIRA to allow multiple SOURCE annotations again, which may partly solve GROOVY-3925.

      Attachments

        Issue Links

          Activity

            People

              roshandawrani Roshan Dawrani
              roshandawrani Roshan Dawrani
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: