[Pitch] `~Sendable` Conformance for Suppressing Sendable Inference
Implementation: implementation, Interaction with ObjC Experimental Feature Flag: TildeSendable Introduction This pitch introduces ~Sendable conformance syntax to explicitly suppress a conformance to Sendable, which would prevent automatic Sendable inference on types, and provide an alternative way to mark types as non-Sendable without inheritance impact. Motivation When encountering a public type that doesn't explicitly conform to Sendable, it's difficult to determine the intent. It can...
forums.swift.org · Swift Forums