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

Lazy annotation does not work with traits

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.4.5
    • None
    • None
    • None

    Description

      As report in this stackoverflow thread (http://stackoverflow.com/questions/35537064/groovy-lazy-annotation-does-not-work-in-trait/35539249#35539249) @Lazy annotations don't work with traits. The lazy variable is initialised regardless it is used or not.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fabrizio.fortino@gmail.com Fabrizio Fortino
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: