mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-16 02:55:00 +00:00
Fix as indentation
This commit is contained in:
parent
7b9aa59d64
commit
f7baa878f2
6 changed files with 72 additions and 4 deletions
|
@ -0,0 +1,3 @@
|
|||
e : A #
|
||||
as H
|
||||
n
|
|
@ -0,0 +1,55 @@
|
|||
@0-13 SpaceAfter(
|
||||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
EitherIndex(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-11,
|
||||
],
|
||||
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(
|
||||
@0-1 Identifier {
|
||||
ident: "e",
|
||||
},
|
||||
@2-0 As(
|
||||
@2-3 Apply(
|
||||
"",
|
||||
"A",
|
||||
[],
|
||||
),
|
||||
[
|
||||
LineComment(
|
||||
"",
|
||||
),
|
||||
],
|
||||
TypeHeader {
|
||||
name: @10-11 "H",
|
||||
vars: [],
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
},
|
||||
@12-13 SpaceBefore(
|
||||
Var {
|
||||
module_name: "",
|
||||
ident: "n",
|
||||
},
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
),
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
)
|
|
@ -0,0 +1,3 @@
|
|||
e:A#
|
||||
as H
|
||||
n
|
|
@ -1,4 +1,4 @@
|
|||
1 :
|
||||
* #
|
||||
as J
|
||||
as J
|
||||
l
|
|
@ -298,6 +298,7 @@ mod test_snapshots {
|
|||
pass/annotated_tag_destructure.expr,
|
||||
pass/annotated_tuple_destructure.expr,
|
||||
pass/annotation_apply_newlines.expr,
|
||||
pass/annotation_comment_before_as.expr,
|
||||
pass/annotation_comment_before_colon.expr,
|
||||
pass/annotation_double_as.expr,
|
||||
pass/annotation_tag_parens_comment.expr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue