forked from M-Labs/artiq
compiler.types: TDelay is always unifiable with self.
This commit is contained in:
parent
919a49b6bc
commit
d899d7307e
|
@ -527,7 +527,7 @@ class TDelay(Type):
|
|||
elif self.is_fixed() and other.is_fixed() and \
|
||||
self.duration.fold() == other.duration.fold():
|
||||
pass
|
||||
else:
|
||||
elif self is not other:
|
||||
raise UnificationError(self, other)
|
||||
|
||||
def fold(self, accum, fn):
|
||||
|
|
Loading…
Reference in New Issue