Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8170

Error in note 1 for pseudo-properties: should be "writing" not "reading"

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.12
    • Component/s: Documentation
    • Labels:

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

        Attachments

          Activity

            People

            • Assignee:
              paulk Paul King
              Reporter:
              pfurbacher Paul Furbacher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: