mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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.
138 KiB
138 KiB