mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 13:34:15 +00:00
Fix missing indent call (#7346)
This commit is contained in:
parent
07f7252573
commit
8701b922b4
5 changed files with 96 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
il3 \k -> # w#z
|
||||
CCC @C # i
|
||||
(t! K) : i
|
||||
C
|
||||
|
|
@ -0,0 +1,86 @@
|
|||
@0-31 SpaceAfter(
|
||||
Apply(
|
||||
@0-3 Var {
|
||||
module_name: "",
|
||||
ident: "il3",
|
||||
},
|
||||
[
|
||||
@3-31 Closure(
|
||||
[
|
||||
@4-5 Identifier {
|
||||
ident: "k",
|
||||
},
|
||||
],
|
||||
@13-31 SpaceBefore(
|
||||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
EitherIndex(0),
|
||||
],
|
||||
regions: [
|
||||
@13-28,
|
||||
],
|
||||
space_before: [
|
||||
Slice<roc_parse::ast::CommentOrNewline> { start: 0, length: 0 },
|
||||
],
|
||||
space_after: [
|
||||
Slice<roc_parse::ast::CommentOrNewline> { start: 0, length: 0 },
|
||||
],
|
||||
spaces: [],
|
||||
type_defs: [
|
||||
Alias {
|
||||
header: TypeHeader {
|
||||
name: @13-16 "CCC",
|
||||
vars: [
|
||||
@16-18 OpaqueRef(
|
||||
"@C",
|
||||
),
|
||||
@22-25 SpaceBefore(
|
||||
Apply(
|
||||
@22-24 Identifier {
|
||||
ident: "t!",
|
||||
},
|
||||
[
|
||||
@24-25 Tag(
|
||||
"K",
|
||||
),
|
||||
],
|
||||
),
|
||||
[
|
||||
LineComment(
|
||||
"i",
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
},
|
||||
ann: @27-28 BoundVariable(
|
||||
"i",
|
||||
),
|
||||
},
|
||||
],
|
||||
value_defs: [],
|
||||
},
|
||||
@30-31 SpaceBefore(
|
||||
Tag(
|
||||
"C",
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
),
|
||||
),
|
||||
[
|
||||
LineComment(
|
||||
"w#z",
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
Space,
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
)
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
il3\k->#w#z
|
||||
CCC@C(#i
|
||||
t!K):i
|
||||
C
|
||||
|
|
@ -596,6 +596,7 @@ mod test_snapshots {
|
|||
pass/record_updater_var_apply.expr,
|
||||
pass/record_with_if.expr,
|
||||
pass/record_with_lots_of_newlines.expr,
|
||||
pass/repr_7346.expr,
|
||||
pass/requires_type.header,
|
||||
pass/return_apply_newline.expr,
|
||||
pass/return_field_access_in_parens.expr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue