Skip to content

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Apr 24, 2025

No description provided.

SwiftDiagnostics is imported in swift-format but we didn’t declare a dependency edge in the package manifest.
@ahoppen ahoppen force-pushed the missing-dependency branch from 8e51272 to 2ac0eee Compare April 24, 2025 14:49
Copy link
Member

@allevato allevato left a comment

Choose a reason for hiding this comment

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

Out of curiosity, is it just a newer toolchain flagging this?

@ahoppen
Copy link
Member Author

ahoppen commented Apr 25, 2025

It’s just something I noticed while working on some other build infrastructure for swift-format. It isn’t an actual issue in SwiftPM because there is a transitive dependency swift-format -> SwiftFormat -> SwiftParserDiagnostics -> SwiftDiagnostics. But I think it’s cleaner to make it explicit.

@ahoppen ahoppen merged commit f2b8d75 into swiftlang:main Apr 25, 2025
20 checks passed
@ahoppen ahoppen deleted the missing-dependency branch September 1, 2025 17:57
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