compiler.types: TDelay is always unifiable with self.

This commit is contained in:
whitequark 2016-02-25 19:56:12 +00:00
parent 919a49b6bc
commit d899d7307e
1 changed files with 1 additions and 1 deletions

View File

@ -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):