Skip to content

Commit

Permalink
Try parens
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed Nov 25, 2023
1 parent fe6c1c7 commit 5d3f906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fault/property.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def _compile(self, value):
if isinstance(value, Property):
rhs_str = ""
if value.rhs is not None:
rhs_str = self._compile(value.rhs)
rhs_str = f"({self._compile(value.rhs)})"
return (f"{self._compile(value.lhs)} {value.op_str} "
f"{rhs_str}")
if isinstance(value, m.Type):
Expand Down

0 comments on commit 5d3f906

Please sign in to comment.