hdl.ast: remove Value.__hash__
.
This is already undefined when defining `Value.__eq__`, and it makes typecheckers (mypy, pyright/pylance) unhappy.
This commit is contained in:
parent
ae1aeff0f2
commit
32eabd9372
|
@ -572,8 +572,6 @@ class Value(metaclass=ABCMeta):
|
||||||
def _rhs_signals(self):
|
def _rhs_signals(self):
|
||||||
pass # :nocov:
|
pass # :nocov:
|
||||||
|
|
||||||
__hash__ = None
|
|
||||||
|
|
||||||
|
|
||||||
@final
|
@final
|
||||||
class Const(Value):
|
class Const(Value):
|
||||||
|
|
Loading…
Reference in a new issue