mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If the block is passed to another function - either as closure argument or as closure capture - it's "converted" to a swift closure with the help of a thunk. The thunk just calls the block. If this is done with a non-escaping partial_apply, the block does not escape. rdar://149095630
1.6 KiB
1.6 KiB