mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Several fixes found in fuzzing
This commit is contained in:
parent
e9caada3f1
commit
b9862b47dc
49 changed files with 1060 additions and 523 deletions
|
@ -43,6 +43,7 @@ pub enum Parens {
|
|||
InApply,
|
||||
InOperator,
|
||||
InAsPattern,
|
||||
InApplyLastArg,
|
||||
}
|
||||
|
||||
/// In an AST node, do we show newlines around it
|
||||
|
@ -238,6 +239,7 @@ fn fmt_ty_ann(
|
|||
let is_first = index == 0;
|
||||
|
||||
if !is_first {
|
||||
buf.indent(indent);
|
||||
buf.push_str(",");
|
||||
if !self_is_multiline {
|
||||
buf.spaces(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue