Avatar
Avatar
Iceman
@swift-main protocol P { } struct S: @MainActor P {} func useSendable(_ v: some Sendable) { print(v, "is sendable.") } func useAny(_ v: Any.Type) { useSendable(v) } useAny(S.self) useSendable(S.self) (edited)
swiftNightly BOT 8/21/2025 8:17 AM
S is sendable. S is sendable. (edited)