Skip to content

Commit 5fd5264

Browse files
committed
Merge pull request swiftlang#1834 from ahoppen/SR-317-Changlog-update
[Changelog] Added changelog entry for SR-317
2 parents 7182c58 + 1702d9d commit 5fd5264

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ Swift 3.0
6464
}
6565
}
6666
```
67+
* Throwing closure arguments of a rethrowing function may now be optional. For example:
68+
69+
```swift
70+
func executeClosureIfNotNil(closure: (() throws -> Void)?) rethrows {
71+
try closure?()
72+
}
73+
```
6774

6875
Swift 2.2
6976
---------

0 commit comments

Comments
 (0)