Skip to content

[ChangeLog] Add an entry for SE-0335. #41065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,24 @@ _**Note:** This is in reverse chronological order, so newer entries are added to
Swift 5.6
---------

* [SE-0335][]:

Swift now allows existential types to be explicitly written with the `any`
keyword, creating a syntactic distinction between existential types and
protocol conformance constraints. For example:

```swift
protocol P {}

func generic<T>(value: T) where T: P {
...
}

func existential(value: any P) {
...
}
```

* [SE-0337][]:

Swift now provides an incremental migration path to data race safety, allowing
Expand Down Expand Up @@ -8873,6 +8891,7 @@ Swift 1.0
[SE-0328]: <https://github.com/apple/swift-evolution/blob/main/proposals/0328-structural-opaque-result-types.md>
[SE-0331]: <https://github.com/apple/swift-evolution/blob/main/proposals/0331-remove-sendable-from-unsafepointer.md>
[SE-0337]: <https://github.com/apple/swift-evolution/blob/main/proposals/0337-support-incremental-migration-to-concurrency-checking.md>
[SE-0335]: <https://github.com/apple/swift-evolution/blob/main/proposals/0335-existential-any.md>

[SR-75]: <https://bugs.swift.org/browse/SR-75>
[SR-106]: <https://bugs.swift.org/browse/SR-106>
Expand Down