swift
798b50b3 - [Concurrency] Fix `@Sendable` closures not inferring `nonisolated(nonsending)`

Commit
86 days ago
[Concurrency] Fix `@Sendable` closures not inferring `nonisolated(nonsending)` If there are no explicit concurrency attributes, isolated parameters, or captures associated with the closure it should infer `nonisolated(nonsending)` for the parent conversion injected by the solver (this conversion is injected because the solver cannot check captures to elide it). The change pushes `isIsolationInferenceBoundaryClosure` check down with added benefit of getting preconcurrency context from the parent.
Author
Committer
Parents
Loading