Skip to content

Commit f6e9b68

Browse files
Merge pull request swiftlang#79653 from AnthonyLatsis/galeocerdo-cuvier
[NFC] CHANGELOG: Log new existential `any` diagnostic behavior
2 parents 5ca72f9 + 51ae6e7 commit f6e9b68

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030

3131
## Swift 6.1
3232

33+
* [#78389][]:
34+
Errors pertaining to the enforcement of [`any` syntax][SE-0335] on boxed
35+
protocol types (aka existential types), including those produced by enabling
36+
the upcoming feature `ExistentialAny`, are downgraded to warnings until a
37+
future language mode.
38+
39+
These warnings can be escalated back to errors with `-Werror ExistentialAny`.
40+
3341
* Previous versions of Swift would incorrectly allow Objective-C `-init...`
3442
methods with custom Swift names to be imported as initializers, but with base
3543
names other than `init`. The compiler now diagnoses these attributes and
@@ -10745,4 +10753,5 @@ using the `.dynamicType` member to retrieve the type of an expression should mig
1074510753
[#56139]: <https://github.com/apple/swift/issues/56139>
1074610754
[#70065]: <https://github.com/apple/swift/pull/70065>
1074710755
[#71075]: <https://github.com/apple/swift/pull/71075>
10756+
[#78389]: <https://github.com/swiftlang/swift/pull/78389>
1074810757
[swift-syntax]: https://github.com/apple/swift-syntax

0 commit comments

Comments
 (0)