mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-23 06:25:10 +00:00

Importantly, this would have caught the issue discovered in #7279, prior to that landing on main.
74 lines
2.1 KiB
Text
74 lines
2.1 KiB
Text
@0-52 SpaceAfter(
|
|
Defs(
|
|
Defs {
|
|
tags: [
|
|
EitherIndex(2147483648),
|
|
],
|
|
regions: [
|
|
@0-39,
|
|
],
|
|
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: [
|
|
AnnotatedBody {
|
|
ann_pattern: @0-5 Identifier {
|
|
ident: "where",
|
|
},
|
|
ann_type: @8-20 Record {
|
|
fields: [
|
|
@9-19 RequiredValue(
|
|
@9-14 "where",
|
|
[],
|
|
@16-19 Apply(
|
|
"",
|
|
"I32",
|
|
[],
|
|
),
|
|
),
|
|
],
|
|
ext: None,
|
|
},
|
|
lines_between: [
|
|
Newline,
|
|
],
|
|
body_pattern: @21-26 Identifier {
|
|
ident: "where",
|
|
},
|
|
body_expr: @29-39 Record(
|
|
[
|
|
@30-38 RequiredValue(
|
|
@30-35 "where",
|
|
[],
|
|
@37-38 Num(
|
|
"1",
|
|
),
|
|
),
|
|
],
|
|
),
|
|
},
|
|
],
|
|
},
|
|
@41-52 SpaceBefore(
|
|
RecordAccess(
|
|
Var {
|
|
module_name: "",
|
|
ident: "where",
|
|
},
|
|
"where",
|
|
),
|
|
[
|
|
Newline,
|
|
Newline,
|
|
],
|
|
),
|
|
),
|
|
[
|
|
Newline,
|
|
],
|
|
)
|