Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark CommandConfiguration as Sendable #615

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

MaxDesiatov
Copy link
Member

Lack of this marker protocol conformance causes warnings with strict concurrency checks, such as Static property 'configuration' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6

Checklist

  • I've added at least one test that validates that my change is working, if appropriate
  • I've followed the code style of the rest of the project
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary

Sorry, something went wrong.

Lack of this marker protocol conformance causes warnings with strict concurrency checks, such as `Static property 'configuration' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6`
@MaxDesiatov MaxDesiatov requested a review from rauhul January 24, 2024 12:17
Copy link
Contributor

@rauhul rauhul left a comment

Choose a reason for hiding this comment

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

Lgtm, let's get @natecook1000 to take a look, I'm not sure if this would require a minor version bump.

@natecook1000
Copy link
Member

Thanks, @MaxDesiatov! Didn't catch this one in #582 since the static configuration doesn't participate in a command's Sendable conformance.

@natecook1000
Copy link
Member

@swift-ci Please test

@MaxDesiatov
Copy link
Member Author

Ready to merge?

@natecook1000 natecook1000 merged commit a0f43bb into main Feb 7, 2024
@natecook1000 natecook1000 deleted the maxd/sendable-command-configuration branch February 7, 2024 05:17
@MaxDesiatov MaxDesiatov added the bug Something isn't working label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants