Avatar
Avatar
Iceman
@swift-6.0.3 -swift-version 6 func g(v: AnyObject) -> some Sendable { return v }
exit status: 1 with <stdin>:2:10: error: type 'AnyObject' does not conform to the 'Sendable' protocol 1 | func g(v: AnyObject) -> some Sendable { 2 | return v | `- error: type 'AnyObject' does not conform to the 'Sendable' protocol 3 | } 4 |