Skip to content

Commit ec7dae5

Browse files
authored
Mark SE-0365 as implemented in Swift 5.8 (#1836)
1 parent d328dc2 commit ec7dae5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

proposals/0365-implicit-self-weak-capture.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* Proposal: [SE-0365](0365-implicit-self-weak-capture.md)
44
* Author: [Cal Stephens](https://github.com/calda)
55
* Review Manager: [Saleem Abdulrasool](https://github.com/compnerd)
6-
* Status: **Accepted (2022-08-08)**
7-
* Implementation: [apple/swift#40702](https://github.com/apple/swift/pull/40702)
6+
* Status: **Implemented (Swift 5.8)**
7+
* Implementation: [apple/swift#40702](https://github.com/apple/swift/pull/40702), [apple/swift#61520](https://github.com/apple/swift/pull/61520)
88

99
## Introduction
1010

@@ -227,3 +227,5 @@ That would effectively add implicit control flow, however. `dismiss()` would onl
227227
Thanks to the authors of [SE-0269](https://github.com/apple/swift-evolution/blob/main/proposals/0269-implicit-self-explicit-capture.md) for laying the foundation for this proposal.
228228

229229
Thanks to Kyle Sluder for [the suggestion](https://forums.swift.org/t/allow-implicit-self-for-weak-self-captures-after-self-is-unwrapped/54262/2) to not permit implicit `self` in cases where the unwrapped `self` value doesn't necessarily refer to the closure's `self` capture, like in `let self = self ?? C.global`.
230+
231+
Many thanks to Pavel Yaskevich, John McCall, and Xiaodi Wu for providing significant feedback and advice regarding the implementation of this proposal.

0 commit comments

Comments
 (0)