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'
}
Environment
SwiftLint 0.58.0
Xcode 16.2
The text was updated successfully, but these errors were encountered:
Bug Description
Sendable constraints on global-actor-qualified protocols are not redundant.
Minimal example showing
Sendable
is not inferred:Environment
The text was updated successfully, but these errors were encountered: