Skip to content

Commit 456959e

Browse files
committed
Fix tests regression
1 parent 6fd1606 commit 456959e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/PackageModel/BuildSettings.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ public enum BuildSettings {
7474

7575
/// Build setting assignment table which maps a build setting to a list of assignments.
7676
public struct AssignmentTable: Codable {
77-
public private(set) var assignments: [Declaration: Set<Assignment>]
77+
public private(set) var assignments: [Declaration: [Assignment]]
7878

7979
public init() {
8080
assignments = [:]
8181
}
8282

8383
/// Add the given assignment to the table.
8484
mutating public func add(_ assignment: Assignment, for decl: Declaration) {
85-
assignments[decl, default: []].insert(assignment)
85+
assignments[decl, default: []].append(assignment)
8686
}
8787
}
8888

0 commit comments

Comments
 (0)