Skip to content

Commit 3ec43ed

Browse files
committed
Add changelog entry for SE-0099.
This was implemented a while back, but didn't get a changelog entry.
1 parent e98ddd6 commit 3ec43ed

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ Note: This is in reverse chronological order, so newer entries are added to the
33
Swift 3.0
44
---------
55

6+
* [SE-0099](https://github.com/apple/swift-evolution/blob/master/proposals/0099-conditionclauses.md):
7+
Condition clauses in `if`, `guard`, and `while` statements now use a more
8+
regular syntax. Each pattern or optional binding must be prefixed with `case`
9+
or `let` respectively, and all conditions are separated by `,` instead of
10+
`where`.
11+
12+
```swift
13+
// before
14+
if let a = a, b = b where a == b { }
15+
16+
// after
17+
if let a = a, let b = b, a == b { }
18+
```
19+
620
* [SE-0112](https://github.com/apple/swift-evolution/blob/master/proposals/0112-nserror-bridging.md):
721
The `NSError` type is now bridged to the Swift `Error` protocol type
822
(formerly called `ErrorProtocol` in Swift 3, `ErrorType` in Swift 2)

0 commit comments

Comments
 (0)