Fix lifting of backpassing

This commit is contained in:
Joshua Warner 2024-12-01 20:23:06 -08:00
parent 2098ccd137
commit ea1ecb9e68
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
5 changed files with 83 additions and 1 deletions

View file

@ -0,0 +1,39 @@
Tuple(
[
@1-2 SpaceAfter(
Var {
module_name: "",
ident: "b",
},
[
Newline,
],
),
@4-13 Backpassing(
[
@4-5 Tag(
"M",
),
],
@7-8 Var {
module_name: "",
ident: "f",
},
@9-13 SpaceBefore(
ParensAround(
SpaceAfter(
Num(
"3",
),
[
Newline,
],
),
),
[
Newline,
],
),
),
],
)

View file

@ -309,6 +309,7 @@ mod test_snapshots {
pass/apply_unary_not.expr,
pass/arg_pattern_as.expr,
pass/backpassing_bananza.expr,
pass/backpassing_in_parens_in_tuple.expr,
pass/bang_newline_double_accessor.expr,
pass/basic_apply.expr,
pass/basic_docs.expr,