Skip to content

Add missing dependency to SwiftSyntaxMacroExpansion. #2294

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

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 16, 2023

Cherry-pick #2285 to package-release/509.


The SwiftSyntaxMacroExpansion module imports SwiftOperators but does not depend on it explicitly in Package.swift. This is no big deal in Swift 5.x, but I believe in Swift 6 this will become an error.

Also, other packages that depend on this package seem to have stricter build systems, and so the lack of this dependency is actually causing CI failures. For example, by updating OpenAPIGenerator to use SwiftSyntax 509 there is a CI failure due to this problem:

error: Target SwiftSyntaxMacroExpansion imports another target (SwiftOperators) in the package without declaring it a dependency.

@ahoppen
Copy link
Member Author

ahoppen commented Oct 16, 2023

Closing in favor of #2295

@ahoppen ahoppen closed this Oct 16, 2023
@ahoppen ahoppen deleted the ahoppen/509/missing-dependency branch November 8, 2023 15:47
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