Skip to content

Make MacroTestingConfiguration Sendable #45

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

Conversation

bonkey
Copy link

@bonkey bonkey commented Apr 26, 2025

In my package for 5.10, with Xcode 16.2 I was getting that, so why not sendablize it?

.../SourcePackages/checkouts/swift-macro-testing/Sources/MacroTesting/MacrosTestTrait.swift:11:9: error: stored property 'configuration' of 'Sendable'-conforming struct '_MacrosTestTrait' has non-sendable type 'MacroTestingConfiguration'
    let configuration: MacroTestingConfiguration
        ^
.../SourcePackages/checkouts/swift-macro-testing/Sources/MacroTesting/AssertMacro.swift:770:8: note: consider making struct 'MacroTestingConfiguration' conform to the 'Sendable' protocol
struct MacroTestingConfiguration {
       ^
                                 : Sendable

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.

1 participant