diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-01-31 21:12:37 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-01-31 21:12:37 -0700 |
| commit | 39983d7ff524a3e1e25dbd6904e28a6dd11120e6 (patch) | |
| tree | 07fbae62ddf8d78dffd7210545d0962f358ccf98 /src/value.zig | |
| parent | cf88cf2657d721c68055a284e8c498a18639f74c (diff) | |
| download | zig-39983d7ff524a3e1e25dbd6904e28a6dd11120e6.tar.gz zig-39983d7ff524a3e1e25dbd6904e28a6dd11120e6.zip | |
stage2: update to new ArrayHashMap API
Diffstat (limited to 'src/value.zig')
| -rw-r--r-- | src/value.zig | 3 |
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); } }; |
