Skip to content

Commit

Permalink
fix: call arg should be top level
Browse files Browse the repository at this point in the history
  • Loading branch information
rvcas committed Nov 18, 2023
1 parent 5023941 commit af7d172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/aiken-lang/src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit af7d172

Please sign in to comment.