Skip to content

Conversation

kavon
Copy link

@kavon kavon commented Feb 8, 2023

Adds discussion about how noncopyable types can conform to Sendable

@kavon kavon force-pushed the permit-sendable-noncopyable branch 3 times, most recently from b994546 to 4133053 Compare February 8, 2023 20:10
@kavon kavon force-pushed the permit-sendable-noncopyable branch from 4133053 to 908c514 Compare February 8, 2023 22:05
@jckarter jckarter merged commit 63933d7 into jckarter:noncopyable-structs-and-enums Feb 10, 2023
@kavon kavon deleted the permit-sendable-noncopyable branch February 15, 2023 04:09
jckarter pushed a commit that referenced this pull request Jun 29, 2023
* Add proposal for init accessors.

* Init accessors suggestions (#2)

* Expand description of accesses and give a "dictionary storage" example

* Make the name of the `newValue` parameter configurable

Be consistent with set/willSet/didSet in making the parameter name
optional and overridable.

* A few clarifications regarding init accessor signatures

* Clarify the rules for definite initialization

Expand the examples and show the case where virtual and stored-property
initialization collide.

---------

Co-authored-by: Holly Borla <hborla@apple.com>

* Address outstanding proposal comments.

* Update the syntax for init accessor effects based on pitch feedback.

* Update the first init accessor example to use a custom parameter name.

* Add an acknowledgments section for the init accessors proposal.

* Update proposals/NNNN-init-accessors.md

Co-authored-by: Frederick Kellison-Linn <fkl@jumhyn.com>

* Remove the phrase "virtual initialization".

* Editorial changes.

* Update the Alternatives Considered section with more syntax suggestions from
the pitch thread.

* Add more commentary on member-wise initializers.

* Add a DI example where a property is not initialized on all paths.

* Init accessors is SE-0400

---------

Co-authored-by: Doug Gregor <dgregor@apple.com>
Co-authored-by: Frederick Kellison-Linn <fkl@jumhyn.com>
Co-authored-by: Freddy Kellison-Linn <fred.kl@me.com>
jckarter pushed a commit that referenced this pull request Mar 22, 2025
Add several new sections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants