Don't mix spaces before/after the field separator

This commit is contained in:
Joshua Warner 2024-12-12 19:53:49 -08:00
parent 2857833c35
commit d66f51db7b
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
7 changed files with 43 additions and 12 deletions

View file

@ -0,0 +1,6 @@
{
l?
"""
""",
}
""

View file

@ -0,0 +1,28 @@
@0-12 SpaceAfter(
Apply(
@0-10 Record(
[
@1-9 OptionalValue(
@1-2 "l",
[],
@3-9 Str(
Block(
[],
),
),
),
],
),
[
@10-12 Str(
PlainLine(
"",
),
),
],
Space,
),
[
Newline,
],
)

View file

@ -472,6 +472,7 @@ mod test_snapshots {
pass/multiline_binop_when_with_comments.expr,
pass/multiline_str_crazyness.expr,
pass/multiline_str_in_pat.expr,
pass/multiline_str_opt_field.expr,
pass/multiline_string.expr,
pass/multiline_string_in_apply.expr,
pass/multiline_tuple_with_comments.expr,