mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
compiler.iodelay: fix typo in Var.__eq__.
This commit is contained in:
parent
a2d73c8b05
commit
841e01a8bb
@ -66,7 +66,7 @@ class Var(Expr):
|
||||
return self.name
|
||||
|
||||
def __eq__(lhs, rhs):
|
||||
return rhs.__class__ == lhs.__class__ and lhs.value == rhs.value
|
||||
return rhs.__class__ == lhs.__class__ and lhs.name == rhs.name
|
||||
|
||||
def free_vars(self):
|
||||
return {self.name}
|
||||
|
Loading…
Reference in New Issue
Block a user