mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-22 17:41:45 +00:00
Fix builtin formatting
This commit is contained in:
parent
739dda6f5e
commit
3a6225c354
6 changed files with 227 additions and 142 deletions
|
@ -107,7 +107,6 @@ fn format_expr_only(
|
|||
if buf.flags().parens_and_commas {
|
||||
fmt_pnc_apply(loc_expr, &Collection::with_items(loc_args), indent, buf);
|
||||
} else if !apply_needs_parens || loc_args.is_empty() {
|
||||
println!("No need parens");
|
||||
fmt_apply(loc_expr, loc_args, indent, buf);
|
||||
} else {
|
||||
fmt_parens(item, buf, indent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue