2
0
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:
whitequark 2015-11-17 00:53:12 +03:00
parent a2d73c8b05
commit 841e01a8bb

View File

@ -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}