fix: call arg should be top level
This commit is contained in:
parent
7118253401
commit
2ed91780f4
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue