| ... | ... | @@ -564,12 +564,12 @@ pub fn autoHash(key: var, comptime rng: *std.rand.Random, comptime HashInt: type |
| 564 | 564 | }, |
| 565 | 565 | |
| 566 | 566 | builtin.TypeId.Float => |info| { |
| 567 | | return autoHash(@bitCast(@IntType(false, info.bits), key), rng); |
| 567 | return autoHash(@bitCast(@IntType(false, info.bits), key), rng, HashInt); |
| 568 | 568 | }, |
| 569 | | builtin.TypeId.Bool => return autoHash(@boolToInt(key), rng), |
| 570 | | builtin.TypeId.Enum => return autoHash(@enumToInt(key), rng), |
| 571 | | builtin.TypeId.ErrorSet => return autoHash(@errorToInt(key), rng), |
| 572 | | builtin.TypeId.Promise, builtin.TypeId.Fn => return autoHash(@ptrToInt(key), rng), |
| 569 | builtin.TypeId.Bool => return autoHash(@boolToInt(key), rng, HashInt), |
| 570 | builtin.TypeId.Enum => return autoHash(@enumToInt(key), rng, HashInt), |
| 571 | builtin.TypeId.ErrorSet => return autoHash(@errorToInt(key), rng, HashInt), |
| 572 | builtin.TypeId.Promise, builtin.TypeId.Fn => return autoHash(@ptrToInt(key), rng, HashInt), |
| 573 | 573 | |
| 574 | 574 | builtin.TypeId.BoundFn, |
| 575 | 575 | builtin.TypeId.ComptimeFloat, |