aboutsummaryrefslogtreecommitdiff
path: root/src/value.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-01-31 21:12:37 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-01-31 21:12:37 -0700
commit39983d7ff524a3e1e25dbd6904e28a6dd11120e6 (patch)
tree07fbae62ddf8d78dffd7210545d0962f358ccf98 /src/value.zig
parentcf88cf2657d721c68055a284e8c498a18639f74c (diff)
downloadzig-39983d7ff524a3e1e25dbd6904e28a6dd11120e6.tar.gz
zig-39983d7ff524a3e1e25dbd6904e28a6dd11120e6.zip
stage2: update to new ArrayHashMap API
Diffstat (limited to 'src/value.zig')
-rw-r--r--src/value.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/value.zig b/src/value.zig
index df1531533b..75c3aac6e7 100644
--- a/src/value.zig
+++ b/src/value.zig
@@ -1765,7 +1765,8 @@ pub const Value = extern union {
const other_context: HashContext = .{ .ty = self.ty };
return @truncate(u32, other_context.hash(val));
}
- pub fn eql(self: @This(), a: Value, b: Value) bool {
+ pub fn eql(self: @This(), a: Value, b: Value, b_index: usize) bool {
+ _ = b_index;
return a.eql(b, self.ty);
}
};