Skip to content

Commit

Permalink
julefmt: fix assign formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Mar 27, 2024
1 parent 1648372 commit c0b502d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/format.jule
Original file line number Diff line number Diff line change
Expand Up @@ -1035,9 +1035,9 @@ impl ScopeFormatter {
}
self.write(l.ident)
} else {
self.write("(")
// Do not write range parentheses.
// Expression formatter will add.
self.fmt.format_expr(l.expr)
self.write(")")
}
if i + 1 < a.left.len {
self.write(", ")
Expand Down

0 comments on commit c0b502d

Please sign in to comment.