Skip to content

Conversation

@lickel
Copy link
Collaborator

@lickel lickel commented Sep 25, 2024

The two main issues were:

  • KeyPath<> & Sendable
  • Thunks

I mostly don't care about this except that older versions of SPM are getting very confused since the swift-tools-version was too high

private weak var parent: (any Parent)?

#if compiler(<6)
private let willChange: @MainActor (_ controller: Controller) -> Void
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking these as @sendable in Swift 6 is awkward since it would require Parent to be sendable.
That's why I can't use the old Thunk impl in Swift 6

@lickel lickel force-pushed the restore-swift5 branch 6 times, most recently from 9f610e2 to 4c7fa22 Compare September 26, 2024 00:30
@lickel lickel merged commit f313228 into main Sep 26, 2024
@lickel lickel deleted the restore-swift5 branch September 26, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants