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

@retroactive unnecessary? #142

Open
mattmassicotte opened this issue Sep 18, 2024 · 1 comment
Open

@retroactive unnecessary? #142

mattmassicotte opened this issue Sep 18, 2024 · 1 comment

Comments

@mattmassicotte
Copy link
Collaborator

I'm having some trouble understanding a build failure with the current package.

The issue is this line:

// ERROR: 'retroactive' attribute does not apply; 'Sendable' is declared in this module
extension RetroactiveColorComponents: @retroactive @unchecked Sendable {
}

But, I do not understand it. RetroactiveColorComponents is declared in a different module, and the type is not publically Sendable in that module. This did build at one point. I'm testing with Xcode 16.1b2.

Am I mis-using @retroactive here?

@mattmassicotte
Copy link
Collaborator Author

I think this is swiftlang/swift#75412

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

No branches or pull requests

1 participant