mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 13:34:15 +00:00
Fix expr_lift_spaces of Closure
This commit is contained in:
parent
19f8cc532a
commit
cae47cf2a6
5 changed files with 49 additions and 6 deletions
|
|
@ -0,0 +1 @@
|
|||
\L -> E #
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
SpaceAfter(
|
||||
Closure(
|
||||
[
|
||||
@1-2 Tag(
|
||||
"L",
|
||||
),
|
||||
],
|
||||
@4-10 ParensAround(
|
||||
SpaceAfter(
|
||||
Tag(
|
||||
"E",
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
LineComment(
|
||||
"",
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
\L->(E
|
||||
#
|
||||
)
|
||||
|
|
@ -328,6 +328,7 @@ mod test_snapshots {
|
|||
pass/body_with_unneeded_parens.expr,
|
||||
pass/call_bang.expr,
|
||||
pass/call_bang_no_space.expr,
|
||||
pass/capture_body_parens_comment.expr,
|
||||
pass/closure_in_apply_in_binop.expr,
|
||||
pass/closure_in_binop_with_spaces.expr,
|
||||
pass/closure_pat_reccord_comment.expr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue