Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.7
-
None
Description
If we include groovy's TimeCategory as an extension class in an extension module, we can make method calls like 3.getDays() in type checked code, but we cannot call that same method as a property i.e. 3.days fails static type checking.
Attachments
Issue Links
- Is contained by
-
GROOVY-6738 Type checking considers extension methods but not extension properties
- Closed
- links to