Skip to content

Commit 8d7de98

Browse files
Update ll_builder.py
1 parent ccbfe6e commit 8d7de98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/ll_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,7 @@ def bool_value(self, value: Value) -> Value:
18001800
elif is_same_type(value.type, str_rprimitive):
18011801
result = self.call_c(str_check_if_true, [value], value.line)
18021802
elif is_same_type(value.type, exact_dict_rprimitive):
1803-
result = self.call_c(dict_is_true_op, [value], line=value.line)
1803+
result = self.primitive_op(dict_is_true_op, [value], line=value.line)
18041804
elif is_same_type(value.type, list_rprimitive) or is_same_type(
18051805
value.type, dict_rprimitive
18061806
):

0 commit comments

Comments
 (0)