fix: symbol mangling

This commit is contained in:
Shunsuke Shibayama 2023-04-19 12:21:55 +09:00
parent 6c23d85fc4
commit d4c566477f
4 changed files with 66 additions and 10 deletions

View file

@ -35,6 +35,9 @@ class BoolMut(NatMut):
def __repr__(self):
return self.value.__repr__()
def __bool__(self):
return bool(self.value)
def __hash__(self):
return self.value.__hash__()