Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4.8
-
None
-
None
Description
groovy:000> new File('/tmp').lastModified ERROR groovy.lang.MissingPropertyException: No such property: lastModified for class: java.io.File Possible solutions: lastModified
lastModified is actually a method, so I should have used new File('/tmp').lastModified()
Attachments
Issue Links
- relates to
-
GROOVY-6260 "Possible solutions" message is confusing because it doesn't reflect whether a property is read-only or write-only
- Closed