Avatar
Avatar
kntk
@swift-main @swift-6.0.3 @swift-5.10.1 -strict-concurrency=complete struct Client: Sendable { let action: @MainActor () -> Void } (edited)
swift510 BOT 8/29/2024 8:37 AM
<stdin>:2:9: warning: stored property 'action' of 'Sendable'-conforming struct 'Client' has non-sendable type '@MainActor () -> Void' let action: @MainActor () -> Void ^ <stdin>:2:9: note: a function type must be marked '@Sendable' to conform to 'Sendable' let action: @MainActor () -> Void ^ (edited)