mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When converting a function with a completion handler that has a Void success parameter, e.g `(Void?, Error?) -> Void`, or more likely a `Result<Void, Error>` parameter, make sure to omit the `-> Void` from the resulting async function conversion. In addition, strip any Void bindings from an async function call, and any explicit Void return values from inside the async function. Resolves rdar://75189289
194 KiB
194 KiB