We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fd1606 commit 456959eCopy full SHA for 456959e
Sources/PackageModel/BuildSettings.swift
@@ -74,15 +74,15 @@ public enum BuildSettings {
74
75
/// Build setting assignment table which maps a build setting to a list of assignments.
76
public struct AssignmentTable: Codable {
77
- public private(set) var assignments: [Declaration: Set<Assignment>]
+ public private(set) var assignments: [Declaration: [Assignment]]
78
79
public init() {
80
assignments = [:]
81
}
82
83
/// Add the given assignment to the table.
84
mutating public func add(_ assignment: Assignment, for decl: Declaration) {
85
- assignments[decl, default: []].insert(assignment)
+ assignments[decl, default: []].append(assignment)
86
87
88
0 commit comments