Skip to content

Commit c92b1f9

Browse files
committed
Revert "Sema: Go back to synthesizing hashValue on _StoredBridgedNSError conformers"
This reverts commit 2eaae45.
1 parent fe6eab4 commit c92b1f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Darwin/Foundation-swiftoverlay/NSError.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,10 @@ extension _BridgedStoredNSError {
489489
public func hash(into hasher: inout Hasher) {
490490
hasher.combine(_nsError)
491491
}
492+
493+
@_alwaysEmitIntoClient public var hashValue: Int {
494+
return _nsError.hashValue
495+
}
492496
}
493497

494498
/// Describes the code of an error.

0 commit comments

Comments
 (0)