doc: full properties now always have a pipe symbol after their identifier
This commit is contained in:
@@ -108,7 +108,7 @@ class Person
|
|||||||
/* Without the lambda synthesis, the property would look like this:
|
/* Without the lambda synthesis, the property would look like this:
|
||||||
Note that this is the only time it is legal to access private fields
|
Note that this is the only time it is legal to access private fields
|
||||||
via `self` from a lambda. */
|
via `self` from a lambda. */
|
||||||
$ exampleProperty
|
$ exampleProperty |
|
||||||
get => [ ^self.val ],
|
get => [ ^self.val ],
|
||||||
set => [ :x | self.val = x ].
|
set => [ :x | self.val = x ].
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user