mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When we are within a closure that is not required to be asynchronous (i.e., it has no `await` in it), make sure that we prefer synchronous functions to asynchronous ones, even if this closure will later be converted to `async` and the constraint system knows that. Fixes rdar://88692889.
5.2 KiB
5.2 KiB