mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-28 12:14:43 +00:00
fix: symbol mangling
This commit is contained in:
parent
6c23d85fc4
commit
d4c566477f
4 changed files with 66 additions and 10 deletions
|
@ -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__()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue