Skip to content

Commit 703a471

Browse files
Merge pull request #70262 from AnthonyLatsis/changelog/record-source-break
Record #70065 in the changelog
2 parents 9a4bb73 + 31fc8d8 commit 703a471

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
> **Note**\
44
> This is in reverse chronological order, so newer entries are added to the top.
55
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+
619
## Swift 5.9.2
720

821
* [SE-0407][]:
@@ -9889,4 +9902,5 @@ using the `.dynamicType` member to retrieve the type of an expression should mig
98899902
[#57081]: <https://github.com/apple/swift/issues/57081>
98909903
[#57225]: <https://github.com/apple/swift/issues/57225>
98919904
[#56139]: <https://github.com/apple/swift/issues/56139>
9905+
[#70065]: <https://github.com/apple/swift/pull/70065>
98929906
[swift-syntax]: https://github.com/apple/swift-syntax

0 commit comments

Comments
 (0)