hdl._ast: deprecate Value.implies.
This commit is contained in:
parent
c4370efcf4
commit
a7a7d32099
4 changed files with 12 additions and 8 deletions
|
|
@ -994,8 +994,9 @@ class Value(metaclass=ABCMeta):
|
|||
"""
|
||||
return Operator("r^", [self])
|
||||
|
||||
# TODO(amaranth-0.6): remove
|
||||
@deprecated("`a.implies(b)` is deprecated, use `~a | b` instead")
|
||||
def implies(self, conclusion):
|
||||
# TODO: should we document or just deprecate this?
|
||||
return ~self | conclusion
|
||||
|
||||
def __check_shamt(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue