We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
md5: 67df72eab37edc9460e3b32c5284a719
duplicates:
Issue Description:
Currently, SwiftPM just merges the requirements in this case but we should emit a warning as this can be a confusing behavior.
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
Comment by Luke Lau (JIRA)
Currently declaring the same dependency twice crashes for me on master instead of merging the requirements:
// swift-tools-version:4.0 import PackageDescription let package = Package( name: "DuplicateDependencies", products: [.library(name: "swiftpm-fail", targets: ["swiftpm-fail"])], dependencies: [ .package(url: "https://github.com/apple/example-package-fisheryates", from: "2.0.0"), .package(url: "https://github.com/apple/example-package-fisheryates", from: "2.0.3") ], targets: [.target(name: "DuplicateDependencies", dependencies: ["FisherYates"])] )
Fatal error: Duplicate values for key: 'FisherYates': file /BuildRoot/Library/Caches/com.apple.xbs/Binaries/swiftlang/install/TempContent/Objects/BNI_assert_lightweight/swift-macosx-x86_64/stdlib/public/core/8/HashedCollections.swift, line 8108
No branches or pull requests
Additional Detail from JIRA
md5: 67df72eab37edc9460e3b32c5284a719
duplicates:
Issue Description:
Currently, SwiftPM just merges the requirements in this case but we should emit a warning as this can be a confusing behavior.
The text was updated successfully, but these errors were encountered: