-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
documentationAn issue or proposed change to our documentationAn issue or proposed change to our documentationgood first issuePossibly a good first issue for newcomersPossibly a good first issue for newcomers
Description
Description of the bug:
#5434 removed addr
patterns from the language, replacing them with ref
patterns, but some design docs still use addr
.
Link to documentation:
What should it say instead?
addr self: <whatever>*
should be rewritten to ref self: <whatever>
, and where applicable, the method body should be rewritten to reflect the type change (for example, self->
should become self.
).
Note that this applies only to /docs/design
. The toolchain still supports addr
and not ref
, but that's out of scope, and documents in /proposals
are never updated to reflect changes in the language.
Any other information, logs, or outputs that you want to share?
No response
Metadata
Metadata
Assignees
Labels
documentationAn issue or proposed change to our documentationAn issue or proposed change to our documentationgood first issuePossibly a good first issue for newcomersPossibly a good first issue for newcomers