Skip to content

Commit 91ef19d

Browse files
committed
Forgotten equatable for ImportedSwiftModule.
1 parent b1cc816 commit 91ef19d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/JExtractSwiftLib/SwiftTypes/ImportedSwiftModule.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ struct ImportedSwiftModule: Hashable {
2626
self.isMainSourceOfSymbols = isMainSourceOfSymbols
2727
}
2828

29+
static func ==(lhs: Self, rhs: Self) -> Bool {
30+
lhs.name == rhs.name
31+
}
32+
2933
func hash(into hasher: inout Hasher) {
3034
hasher.combine(name)
3135
}

0 commit comments

Comments
 (0)