Details
-
Documentation
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
http://groovy-lang.org/objectorientation.html#properties
In the discussion of pseudo properties, the following code (an assignment)
p.name = 'Foo' [1]
is explained in note 1 as:
[1] reading p.name is allowed because there is a pseudo-property name
Since the code is an assignment, it should read "writing p.name is ...."