mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Within the constraint system, introduce a new kind of conformance constraint, a "nonisolated conforms-to" constraint, which can only be satisfied by nonisolated conformances. Introduce this constraint instead of the normal conforms-to constraint whenever the subject type is a type parameter that has either a `Sendable` or `SendableMetatype` constraint, i.e., when the type or its values can escape the current isolation domain.
247 KiB
247 KiB