Skip to content

Commit b0e9e74

Browse files
authored
Add SE-0345 to CHANGELOG.md
1 parent a6bcd80 commit b0e9e74

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,29 @@ _**Note:** This is in reverse chronological order, so newer entries are added to
55

66
## Swift 5.7
77

8+
* [SE-0345][]:
9+
10+
It is now possible to unwrap optional variables with a shorthand syntax that
11+
shadows the existing declaration. For example, the following:
12+
13+
```swift
14+
let foo: String?
15+
16+
if let foo {
17+
print(foo)
18+
}
19+
```
20+
21+
is equivalent to:
22+
23+
```swift
24+
let foo: String?
25+
26+
if let foo = foo {
27+
print(foo)
28+
}
29+
```
30+
831
* [SE-0340][]:
932

1033
It is now possible to make declarations unavailable from use in asynchronous

0 commit comments

Comments
 (0)