diff --git a/include/pocketpy/common.h b/include/pocketpy/common.h index 1fcf2cb0..72be5ca7 100644 --- a/include/pocketpy/common.h +++ b/include/pocketpy/common.h @@ -242,7 +242,7 @@ struct PyVar final{ return reinterpret_cast(_1); } - i64 hash() const { return _1; } + i64 hash() const { return _0 + _1; } template obj_get_t obj_get();