swiftlang/swift-syntax

Undeclared SwiftSyntaxMacroExpansion dependency on SwiftOperators

Closed this issue · 3 comments

Description

When building with --explicit-target-dependency-import-check error, swift-syntax fails to build due to the error: error: Target SwiftSyntaxMacroExpansion imports another target (SwiftOperators) in the package without declaring it a dependency..

Steps to Reproduce

swift build --explicit-target-dependency-import-check error on the 5.9 release.

Tracked in Apple’s issue tracker as rdar://117004722

I believe that Pull Request #2285 from @mbrandonw will resolve this issue.

Fixed by #2285