From ce95cc170bfa763d31fc498169ee9e44adca57fa Mon Sep 17 00:00:00 2001 From: Veikka Tuominen Date: Wed, 19 Oct 2022 01:59:31 +0300 Subject: Value: handle runtime_int in hashPtr Closes #12702 --- src/value.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/value.zig b/src/value.zig index 47f69b2099..71fb8c4a0e 100644 --- a/src/value.zig +++ b/src/value.zig @@ -2555,6 +2555,9 @@ pub const Value = extern union { .lazy_size, => return hashInt(ptr_val, hasher, target), + // The value is runtime-known and shouldn't affect the hash. + .runtime_int => {}, + else => unreachable, } } -- cgit v1.2.3