Avatar
Avatar
omochimetaru
@swift-6.0.3 @swift-6.1.3 @swift-6.2.3 func foo(x: any Sequence<Int> & Sendable) {}
exit status 1 with stderr:<stdin>:1:17: error: non-protocol, non-class type 'Sequence<Int>' cannot be used within a protocol-constrained type 1 | func foo(x: any Sequence<Int> & Sendable) {} | `- error: non-protocol, non-class type 'Sequence<Int>' cannot be used within a protocol-constrained type 2 |