Swift 6 Concurrency and Cuckoo: Inheritance meets Sendable final classes #534
Unanswered
alexdm-e2n
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I migrated our first project to Swift 6 and one change with the new concurrency model is, that Sendable classes have to be final.
As Cuckoo uses inheritance this seems to me as a very common issue that we have to declare our classes as
@unchecked Sendable
which effectively means disabling all concurrency compiler checks for this type.Are there other ideas how a workaround might look like or are there any ideas how to integrate Cuckoo with the Swift-6 concurrency model in the future?
Regards,
Alexander
Beta Was this translation helpful? Give feedback.
All reactions