mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Fix formatting of literals in closure args
This commit is contained in:
parent
61fb9e45fb
commit
cc611533e0
7 changed files with 65 additions and 4 deletions
|
@ -0,0 +1 @@
|
|||
\(8) -> T #
|
|
@ -0,0 +1,17 @@
|
|||
@0-7 SpaceAfter(
|
||||
Closure(
|
||||
[
|
||||
@2-3 NumLiteral(
|
||||
"8",
|
||||
),
|
||||
],
|
||||
@6-7 Tag(
|
||||
"T",
|
||||
),
|
||||
),
|
||||
[
|
||||
LineComment(
|
||||
"",
|
||||
),
|
||||
],
|
||||
)
|
|
@ -0,0 +1 @@
|
|||
\(8)->T#
|
|
@ -344,6 +344,7 @@ mod test_snapshots {
|
|||
pass/call_bang.expr,
|
||||
pass/call_bang_no_space.expr,
|
||||
pass/capture_body_parens_comment.expr,
|
||||
pass/closure_arg_parens_then_comment.expr,
|
||||
pass/closure_complex_pattern_indent_issue.expr,
|
||||
pass/closure_in_apply_in_binop.expr,
|
||||
pass/closure_in_binop_with_spaces.expr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue