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 ccbfe6e commit 8d7de98Copy full SHA for 8d7de98
mypyc/irbuild/ll_builder.py
@@ -1800,7 +1800,7 @@ def bool_value(self, value: Value) -> Value:
1800
elif is_same_type(value.type, str_rprimitive):
1801
result = self.call_c(str_check_if_true, [value], value.line)
1802
elif is_same_type(value.type, exact_dict_rprimitive):
1803
- result = self.call_c(dict_is_true_op, [value], line=value.line)
+ result = self.primitive_op(dict_is_true_op, [value], line=value.line)
1804
elif is_same_type(value.type, list_rprimitive) or is_same_type(
1805
value.type, dict_rprimitive
1806
):
0 commit comments