File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 3
3
> ** Note** \
4
4
> This is in reverse chronological order, so newer entries are added to the top.
5
5
6
+ * [ #70065 ] [ ] :
7
+
8
+ With the implementation of [ SE-0110] [ ] , a closure parameter syntax consisting
9
+ of only a parameter type — and no parameter name — was accidentally made legal
10
+ for certain unambiguous type syntaxes in Swift 4. For example:
11
+
12
+ ``` swift
13
+ let closure = { ([Int ]) in }
14
+ ```
15
+
16
+ Having been [ gated] ( https://github.com/apple/swift/pull/28171 ) behind a
17
+ compiler warning since at least Swift 5.2, this syntax is now rejected.
18
+
6
19
## Swift 5.9.2
7
20
8
21
* [ SE-0407] [ ] :
@@ -9889,4 +9902,5 @@ using the `.dynamicType` member to retrieve the type of an expression should mig
9889
9902
[#57081 ]: < https: // github.com/apple/swift/issues/57081>
9890
9903
[#57225 ]: < https: // github.com/apple/swift/issues/57225>
9891
9904
[#56139 ]: < https: // github.com/apple/swift/issues/56139>
9905
+ [#70065 ]: < https: // github.com/apple/swift/pull/70065>
9892
9906
[swift- syntax]: https: // github.com/apple/swift-syntax
You can’t perform that action at this time.
0 commit comments