mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
add final_comments to List's AST
This commit is contained in:
parent
04d0711251
commit
83aa5c1642
4 changed files with 29 additions and 11 deletions
|
@ -122,7 +122,7 @@ pub fn fmt_body<'a>(
|
|||
Expr::SpaceBefore(_, _) => {
|
||||
body.format_with_options(buf, Parens::NotNeeded, Newlines::Yes, indent + INDENT);
|
||||
}
|
||||
Expr::Record { .. } | Expr::List(_) => {
|
||||
Expr::Record { .. } | Expr::List { .. } => {
|
||||
newline(buf, indent + INDENT);
|
||||
body.format_with_options(buf, Parens::NotNeeded, Newlines::Yes, indent + INDENT);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue