Skip to content

Commit cd3bfec

Browse files
author
David Ungar
committed
Publicize < methods
1 parent 4ed0401 commit cd3bfec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/SwiftDriver/Incremental Compilation/ModuleDependencyGraph Parts/Node.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ extension ModuleDependencyGraph.Node: Equatable, Hashable {
8181
}
8282

8383
extension ModuleDependencyGraph.Node: Comparable {
84-
static func < (lhs: ModuleDependencyGraph.Node, rhs: ModuleDependencyGraph.Node) -> Bool {
84+
public static func < (lhs: ModuleDependencyGraph.Node, rhs: ModuleDependencyGraph.Node) -> Bool {
8585
func lt<T: Comparable> (_ a: T?, _ b: T?) -> Bool {
8686
switch (a, b) {
8787
case let (x?, y?): return x < y

Sources/SwiftDriver/Incremental Compilation/ModuleDependencyGraph Parts/SwiftDeps.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extension ModuleDependencyGraph.SwiftDeps {
4848
}
4949
// MARK: - comparing
5050
extension ModuleDependencyGraph.SwiftDeps: Comparable {
51-
static func < (lhs: Self, rhs: Self) -> Bool {
51+
public static func < (lhs: Self, rhs: Self) -> Bool {
5252
lhs.file.name < rhs.file.name
5353
}
5454
}

0 commit comments

Comments
 (0)