You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sendable constraints on global-actor-qualified protocols are not redundant.
// This triggers a violation:
@MainActorprotocolMyProtocol:Sendable{}
Minimal example showing Sendable is not inferred:
@MainActorprotocolNotSend{}structS<P:NotSend>:Sendable{varp:P // Stored property 'p' of 'Sendable'-conforming generic struct 'S' has non-sendable type 'P'
}