Skip to content

Commit 259a926

Browse files
Merge pull request #79654 from AnthonyLatsis/galeocerdo-cuvier-6.1
[6.1][NFC] CHANGELOG: Log new existential `any` diagnostic behavior
2 parents cd51d75 + 599d02d commit 259a926

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
@@ -5,6 +5,14 @@
55

66
## Swift 6.1
77

8+
* [#78389][]:
9+
Errors pertaining to the enforcement of [`any` syntax][SE-0335] on boxed
10+
protocol types (aka existential types), including those produced by enabling
11+
the upcoming feature `ExistentialAny`, are downgraded to warnings until a
12+
future language mode.
13+
14+
These warnings can be escalated back to errors with `-Werror ExistentialAny`.
15+
816
* Projected value initializers are now correctly injected into calls when
917
an argument exactly matches a parameter with an external property wrapper.
1018

@@ -10714,4 +10722,5 @@ using the `.dynamicType` member to retrieve the type of an expression should mig
1071410722
[#56139]: <https://github.com/apple/swift/issues/56139>
1071510723
[#70065]: <https://github.com/apple/swift/pull/70065>
1071610724
[#71075]: <https://github.com/apple/swift/pull/71075>
10725+
[#78389]: <https://github.com/swiftlang/swift/pull/78389>
1071710726
[swift-syntax]: https://github.com/apple/swift-syntax

0 commit comments

Comments
 (0)