Paul Furbacher created GROOVY-8170:
--------------------------------------

             Summary: Error in note 1 for pseudo-properties: should be 
"writing" not "reading"
                 Key: GROOVY-8170
                 URL: https://issues.apache.org/jira/browse/GROOVY-8170
             Project: Groovy
          Issue Type: Documentation
          Components: Documentation
            Reporter: Paul Furbacher
            Priority: Minor
         Attachments: Screen Shot 2017-04-27 at 9.49.44 PM.png

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 ...."







--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to