mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Add missing indent call
This commit is contained in:
parent
7d60cc8601
commit
249125297e
5 changed files with 76 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
|||
(
|
||||
i :
|
||||
a #
|
||||
where w implements I
|
||||
e
|
||||
)
|
|
@ -0,0 +1,65 @@
|
|||
@0-29 SpaceAfter(
|
||||
ParensAround(
|
||||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
EitherIndex(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@1-26,
|
||||
],
|
||||
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: [],
|
||||
value_defs: [
|
||||
Annotation(
|
||||
@1-2 Identifier {
|
||||
ident: "i",
|
||||
},
|
||||
@3-26 Where(
|
||||
@3-4 SpaceAfter(
|
||||
BoundVariable(
|
||||
"a",
|
||||
),
|
||||
[
|
||||
LineComment(
|
||||
"",
|
||||
),
|
||||
],
|
||||
),
|
||||
[
|
||||
@13-26 ImplementsClause {
|
||||
var: @13-14 "w",
|
||||
abilities: [
|
||||
@25-26 Apply(
|
||||
"",
|
||||
"I",
|
||||
[],
|
||||
),
|
||||
],
|
||||
},
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
},
|
||||
@27-28 SpaceBefore(
|
||||
Var {
|
||||
module_name: "",
|
||||
ident: "e",
|
||||
},
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
)
|
|
@ -0,0 +1,3 @@
|
|||
(i:a#
|
||||
wherew implementsI
|
||||
e)
|
|
@ -744,6 +744,7 @@ mod test_snapshots {
|
|||
pass/when_with_records.expr,
|
||||
pass/when_with_tuple_in_record.expr,
|
||||
pass/when_with_tuples.expr,
|
||||
pass/where_and_implements_lookalikes.expr,
|
||||
pass/where_clause_function.expr,
|
||||
pass/where_clause_multiple_bound_abilities.expr,
|
||||
pass/where_clause_multiple_has.expr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue