aboutsummaryrefslogtreecommitdiff
path: root/src/value.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-10-21 12:11:49 +0200
committerGitHub <noreply@github.com>2022-10-21 12:11:49 +0200
commit972c39e2c00c487a483bad002ef33ca1a5c21d02 (patch)
tree8a5ef4ae22f2a36b020062a913c79278bfb79a30 /src/value.zig
parent41575b1f55b0f18d65bfeb23dc04a5489ed47b65 (diff)
parent2609e33ab08850405682a79f60cca66c13f9a40d (diff)
downloadzig-972c39e2c00c487a483bad002ef33ca1a5c21d02.tar.gz
zig-972c39e2c00c487a483bad002ef33ca1a5c21d02.zip
Merge pull request #13219 from Vexu/stage2-fixes
Stage2 bug fixes
Diffstat (limited to 'src/value.zig')
-rw-r--r--src/value.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/value.zig b/src/value.zig
index e34fbcee16..ee5b357a70 100644
--- a/src/value.zig
+++ b/src/value.zig
@@ -2632,6 +2632,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,
}
}