Avatar
Avatar
Iceman
@swift-6.0.3 typealias A = (StringProtocol) & (Sendable) class C<T: (StringProtocol) & (Sendable)> { } (edited)
exit status: 1 with <stdin>:2:12: error: expected a class type or protocol-constrained type restricting 'T' 1 | typealias A = (StringProtocol) & (Sendable) 2 | class C<T: (StringProtocol) & (Sendable)> { | `- error: expected a class type or protocol-constrained type restricting 'T' 3 | } 4 | (edited)