We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba8bd6f commit 9082b57Copy full SHA for 9082b57
helion/_compiler/type_propagation.py
@@ -633,7 +633,7 @@ def truth_value(self) -> bool:
633
return bool(self.value)
634
635
def merge(self, other: TypeInfo) -> TypeInfo:
636
- if type(other) is type(self) and self.value is other.value:
+ if type(other) is type(self) and self.value == other.value:
637
return self
638
if isinstance(other, (LiteralType, NumericType)):
639
if NumericType.known_equal(other.value, self.value):
0 commit comments