mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[test] Modernize hashing throughout the test suite
This commit is contained in:
@@ -280,7 +280,7 @@ func iuoKeyPaths() {
|
||||
|
||||
class Bass: Hashable {
|
||||
static func ==(_: Bass, _: Bass) -> Bool { return false }
|
||||
var hashValue: Int { return 0 }
|
||||
func hash(into hasher: inout Hasher) {}
|
||||
}
|
||||
|
||||
class Treble: Bass { }
|
||||
|
||||
Reference in New Issue
Block a user