Skip to content

[NFC] CHANGELOG: Log new existential any diagnostic behavior #79653

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
Feb 28, 2025
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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@

## Swift 6.1

* [#78389][]:
Errors pertaining to the enforcement of [`any` syntax][SE-0335] on boxed
protocol types (aka existential types), including those produced by enabling
the upcoming feature `ExistentialAny`, are downgraded to warnings until a
future language mode.

These warnings can be escalated back to errors with `-Werror ExistentialAny`.

* Previous versions of Swift would incorrectly allow Objective-C `-init...`
methods with custom Swift names to be imported as initializers, but with base
names other than `init`. The compiler now diagnoses these attributes and
Expand Down Expand Up @@ -10719,4 +10727,5 @@ using the `.dynamicType` member to retrieve the type of an expression should mig
[#56139]: <https://github.com/apple/swift/issues/56139>
[#70065]: <https://github.com/apple/swift/pull/70065>
[#71075]: <https://github.com/apple/swift/pull/71075>
[#78389]: <https://github.com/swiftlang/swift/pull/78389>
[swift-syntax]: https://github.com/apple/swift-syntax