File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 5
5
6
6
## Swift 6.1
7
7
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
+
8
16
* Previous versions of Swift would incorrectly allow Objective-C ` -init... `
9
17
methods with custom Swift names to be imported as initializers, but with base
10
18
names other than ` init ` . The compiler now diagnoses these attributes and
@@ -10719,4 +10727,5 @@ using the `.dynamicType` member to retrieve the type of an expression should mig
10719
10727
[#56139 ]: < https: // github.com/apple/swift/issues/56139>
10720
10728
[#70065 ]: < https: // github.com/apple/swift/pull/70065>
10721
10729
[#71075 ]: < https: // github.com/apple/swift/pull/71075>
10730
+ [#78389 ]: < https: // github.com/swiftlang/swift/pull/78389>
10722
10731
[swift- syntax]: https: // github.com/apple/swift-syntax
You can’t perform that action at this time.
0 commit comments