Only update when we actually have changed something.
@@ -76,6 +76,7 @@ class InferredSignature:
"""
# What to do with existing type?
# Would need to do return_type = join(new, old)
+ if return_type != self.return_type:
self.return_type = return_type
self.__update_signature_return_type(return_type)
