We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e66a38 commit dffbbd1Copy full SHA for dffbbd1
validation-test/stdlib/FixedPoint.swift.gyb
@@ -246,7 +246,7 @@ FixedPoint.test("${Self}.hashValue") {
246
% if prepare_bit_pattern(input, word_bits, self_ty.is_signed) == input:
247
hasher._combine(UInt(truncatingIfNeeded: ${input} as ${"" if self_ty.is_signed else "U"}Int))
248
% else:
249
- hasher._combine(input)
+ hasher._combine(UInt64(truncatingIfNeeded: input))
250
% end
251
let expected = getInt(Int(truncatingIfNeeded: hasher.finalize()))
252
expectEqual(expected, output, "input: \(input)")
0 commit comments