Skip to content

Fix warnings in Swift 6.2 about non-sendable types in isolated closures #107

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

Merged
merged 3 commits into from
Jun 4, 2025

Conversation

d-ronnqvist
Copy link
Contributor

@d-ronnqvist d-ronnqvist commented Jun 4, 2025

Bug/issue #, if applicable: rdar://152474585

Summary

This resolves a few warnings in Swift 6.2 about non-sendable types in isolated closures.

These changes are all in internal API, so we don't need to consider API breaking changes.

Dependencies

None.

Testing

Build DocC with a Swift 6.2 compiler. There shouldn't be warnings about "capture of non-sendable type in an isolated closure".

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • [ ] Added tests
  • Ran the ./bin/test script and it succeeded
  • [ ] Updated documentation if necessary

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist merged commit d169154 into swiftlang:main Jun 4, 2025
2 checks passed
@d-ronnqvist d-ronnqvist deleted the sendable-metatype-warnings branch June 4, 2025 15:34
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.

2 participants