mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 13:34:15 +00:00
Don't mix spaces before/after the field separator
This commit is contained in:
parent
2857833c35
commit
d66f51db7b
7 changed files with 43 additions and 12 deletions
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
l?
|
||||
"""
|
||||
""",
|
||||
}
|
||||
""
|
||||
|
|
@ -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,
|
||||
],
|
||||
)
|
||||
|
|
@ -0,0 +1 @@
|
|||
{l?""""""}""
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
{
|
||||
i
|
||||
? p,
|
||||
i? p,
|
||||
}
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue