Avatar
Avatar
Iceman
@swift-5.10.1 class C: @unchecked Sendable {} final class C2<NotSendable>: C, Sendable { var foo: NotSendable }
swift510 BOT 4/3/2024 1:55 AM
exit status: 1 with <stdin>:2:13: error: class 'C2' has no initializers final class C2<NotSendable>: C, Sendable { ^ <stdin>:3:7: note: stored property 'foo' without initial value prevents synthesized initializers var foo: NotSendable ^