Skip to content

Enable 'InferSendableFromCaptures' upcoming feature and resolve new build failures #413

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 2 commits into from
May 15, 2024

Conversation

stmontgomery
Copy link
Contributor

Enable the InferSendableFromCaptures upcoming feature and resolve new build failures. This is a feature enabled by default in Swift 6 per SE-0418, and attempting to build in Swift 6 language mode has revealed a build failure which this resolves.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

Resolves rdar://128079937

@stmontgomery
Copy link
Contributor Author

@swift-ci please test

… using Swift 6 and the feature is enabled there
@stmontgomery
Copy link
Contributor Author

@swift-ci please test

@grynspan grynspan mentioned this pull request May 14, 2024
2 tasks
@grynspan
Copy link
Contributor

@swift-ci please test

@grynspan
Copy link
Contributor

@swift-ci please test

@grynspan grynspan added the workaround Workaround for an issue in another component (may need to revert later) label May 14, 2024
@grynspan
Copy link
Contributor

Merging on Stuart's behalf.

@grynspan grynspan merged commit 9ff0148 into swiftlang:main May 15, 2024
@stmontgomery stmontgomery deleted the infer-sendable-from-captures branch May 15, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request workaround Workaround for an issue in another component (may need to revert later)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants