You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks as if it's using the last path component of the path of the package when looking for cycles, but then reporting the name of the package (as declared in the manifest) in the error message.
Environment
Apple Swift version 5.2 (swiftlang-1103.0.32.1 clang-1103.0.32.29)``Target: x86_64-apple-darwin19.4.0
Additional Detail from JIRA
md5: 6105d7d40f7dfd9057cf10b363b45d6c
Issue Description:
When trying to build a SwiftPM package in a directory with the same name as a dependency, SwiftPM reports:
error: cyclic dependency declaration found: BugTest -> BugTest
Steps To Reproduce:
git clone git@github.com:0xTim/swiftpm-cyclic-bug.git
cd swiftpm-cyclic-bug/vapor
swift build
Expected Result
swift builds correctly
Actual Result
swift reports
error: cyclic dependency declaration found: BugTest -> BugTest
The text was updated successfully, but these errors were encountered: