-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Namespace collision with third party library #3086
Comments
This is not a bug in Vapor; |
@nashysolutions Additional information: Your underlying problem here is the misuse of .package(url: "git@github.com:vapor/vapor.git", from: "4.0.0"),
.package(url: "git@github.com:pointfreeco/swift-dependencies.git", from: "1.0.0")
], With this specification, the build completes without any issue. |
I think |
It most definitely is not doing that now - I used that to test your configuration; it generated: .package(url: "https://github.com/vapor/vapor.git", from: "4.83.1"), 😅 |
@gwynne For the record, our library has nothing to do with this issue. The issue is that compiling a version of Vapor from 3 years ago in Swift 5.9 seems to be exploiting a problem in Swift's |
@mbrandonw You're quite correct about your library; my apologies for the misdiagnosis - I've updated my previous comment to reflect this. The problem was entirely due to using such an ancient version of Vapor; 4.0.2 would never have been compatible with Swift 5.9, or even Swift 5.5 for that matter. |
Describe the bug
Using this package alongside a library from the pointfree team causes a compilation error.
MyLibrary.zip
To Reproduce
Expected behavior
The project compiles.
Environment
Target: arm64-apple-macosx14.0
Additional context
The text was updated successfully, but these errors were encountered: