Skip to content

Commit 6b97339

Browse files
committed
Add more features.
Add `throws`/`rethrows` and trailing closures to feature list. Features are tested in test/Sema/call_as_function_simple.swift.
1 parent 651dd4f commit 6b97339

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ Swift Next
4646
`func callAsFunction` argument labels are required at call sites.
4747
Multiple `func callAsFunction` methods on a single type are supported.
4848
`mutating func callAsFunction` is supported.
49+
`func callAsFunction` works with `throws` and `rethrows`.
50+
`func callAsFunction` works with trailing closures.
4951

5052
* [SR-4206][]:
5153

0 commit comments

Comments
 (0)