Skip to content

Commit 722fab1

Browse files
committed
[NFC] CHANGELOG: Log new existential any diagnostic behavior
1 parent 47a7867 commit 722fab1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55

66
## Swift 6.1
77

8+
* [#78389][]:
9+
10+
Errors pertaining to the enforcement of [`any` syntax][SE-0335] on boxed
11+
protocol types (aka existential types), including those produced by enabling
12+
the upcoming feature `ExistentialAny`, are downgraded to warnings until a
13+
future language mode.
14+
15+
These warnings can be escalated back to errors with `-Werror ExistentialAny`.
16+
817
* Previous versions of Swift would incorrectly allow Objective-C `-init...`
918
methods with custom Swift names to be imported as initializers, but with base
1019
names other than `init`. The compiler now diagnoses these attributes and
@@ -10719,4 +10728,5 @@ using the `.dynamicType` member to retrieve the type of an expression should mig
1071910728
[#56139]: <https://github.com/apple/swift/issues/56139>
1072010729
[#70065]: <https://github.com/apple/swift/pull/70065>
1072110730
[#71075]: <https://github.com/apple/swift/pull/71075>
10731+
[#78389]: <https://github.com/swiftlang/swift/pull/78389>
1072210732
[swift-syntax]: https://github.com/apple/swift-syntax

0 commit comments

Comments
 (0)