Skip to content

Commit 50ae97a

Browse files
committed
Add an acknowledgments section for the init accessors proposal.
1 parent a4d53f8 commit 50ae97a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

proposals/NNNN-init-accessors.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,3 +356,7 @@ This syntax choice is misleading because the effects look like function paramete
356356
### `init` accessors for local variables
357357

358358
`init` accessors for local variables have different implications on definite initialization, because re-writing assignment to `init` or `set` is not based on the initialization state of `self`. Local variable getters and setters can also capture any other local variables in scope, which raises more challenges for diagnosing escaping uses before initialization during the same pass where assignments may be re-written to `init` or `set`. As such, local variables with `init` accessors are a future direction.
359+
360+
## Acknowledgments
361+
362+
Thank you to TJ Usiyan, Michel Fortin, and others for suggesting alternative syntax ideas for `init` accessor effects; thank you to Pavel Yaskevich for helping with the implementation.

0 commit comments

Comments
 (0)