Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for
@Sendable
inference through an optional type.
We previously had a bug where `@Sendable` would not be propagated to a closure when that closure was assigned to a property or passed to a parameter of optional `@Sendable` function type. This has already been fixed in the type checker, but add a test to ensure that we don't regress this behavior. rdar://77789778
- Loading branch information