Skip to content

@retroactive unnecessary? #142

@mattmassicotte

Description

@mattmassicotte

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions