Skip to content

Fix compilation with Swift 6.1 #59

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix compilation with Swift 6.1 #59

wants to merge 1 commit into from

Conversation

Supereg
Copy link
Member

@Supereg Supereg commented Apr 2, 2025

Fix compilation with Swift 6.1

♻️ Current situation & Problem

Swift 6.1 seems to cause some regressions that cause compiler errors again as reported previously in swiftlang/swift#76005.
Presumably, again, it is caused by having the storage property for property wrappers under a different actor isolation than the "access property". We remove the global isolation and add a @unchcked Sendable for now to bypass Sendable warnings due to mutable storage of property wrappers.

⚙️ Release Notes

  • Fix compilation under Swift 6.1

📚 Documentation

--

✅ Testing

--

📝 Code of Conduct & Contributing Guidelines

By creating and submitting this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

Copy link
Member

@PSchmiedmayer PSchmiedmayer left a comment

Choose a reason for hiding this comment

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

Looks great; thank you!

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