File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -597,7 +597,6 @@ internal enum KeyPathComponent: Hashable {
597
597
598
598
@inlinable // FIXME(sil-serialize-all)
599
599
internal func hash( into hasher: inout Hasher ) {
600
- var hasher = hasher
601
600
func appendHashFromArgument(
602
601
_ argument: KeyPathComponent . ArgumentRef ?
603
602
) {
Original file line number Diff line number Diff line change @@ -657,7 +657,10 @@ keyPathImpl.test("equality") {
657
657
}
658
658
659
659
expectNotEqual ( s_c_z_p_x, s_c_z_p_y)
660
+ expectNotEqual ( s_c_z_p_x. hashValue, s_c_z_p_y. hashValue)
661
+
660
662
expectNotEqual ( s_c_z_p_y, s_c_z_p_x)
663
+ expectNotEqual ( s_c_z_p_y. hashValue, s_c_z_p_x. hashValue)
661
664
662
665
// Different path type
663
666
let s_c_z_p = ReferenceWritableKeyPath < S < S < String > > , Point >
You can’t perform that action at this time.
0 commit comments