diff options
Diffstat (limited to 'src/value.zig')
| -rw-r--r-- | src/value.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/value.zig b/src/value.zig index e8fe848d5d..a7c3afbd6b 100644 --- a/src/value.zig +++ b/src/value.zig @@ -1242,6 +1242,10 @@ pub const Value = extern union { return compare(a, .eq, b); } + pub fn hash(a: Value) u64 { + @panic("TODO Value.hash"); + } + /// Asserts the value is a pointer and dereferences it. /// Returns error.AnalysisFail if the pointer points to a Decl that failed semantic analysis. pub fn pointerDeref(self: Value, allocator: *Allocator) error{ AnalysisFail, OutOfMemory }!Value { |
