fix: call arg should be top level
This commit is contained in:
@@ -1578,7 +1578,7 @@ impl<'comments> Formatter<'comments> {
|
||||
| UntypedExpr::Sequence { .. }
|
||||
| UntypedExpr::Assignment { .. } => "{"
|
||||
.to_doc()
|
||||
.append(line().append(self.expr(expr, false)).nest(INDENT))
|
||||
.append(line().append(self.expr(expr, true)).nest(INDENT))
|
||||
.append(line())
|
||||
.append("}")
|
||||
.force_break(),
|
||||
|
||||
Reference in New Issue
Block a user