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
- duplicates
-
GROOVY-7759 @Lazy does not work when used in a Trait
- Closed