fix: call arg should be top level

This commit is contained in:
rvcas 2023-11-18 17:21:43 -05:00 committed by Lucas
parent 7118253401
commit 2ed91780f4
1 changed files with 1 additions and 1 deletions

View File

@ -1578,7 +1578,7 @@ impl<'comments> Formatter<'comments> {
| UntypedExpr::Sequence { .. } | UntypedExpr::Sequence { .. }
| UntypedExpr::Assignment { .. } => "{" | UntypedExpr::Assignment { .. } => "{"
.to_doc() .to_doc()
.append(line().append(self.expr(expr, false)).nest(INDENT)) .append(line().append(self.expr(expr, true)).nest(INDENT))
.append(line()) .append(line())
.append("}") .append("}")
.force_break(), .force_break(),