mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-23 14:35:12 +00:00

Importantly, this would have caught the issue discovered in #7279, prior to that landing on main.
61 lines
1.4 KiB
Text
61 lines
1.4 KiB
Text
@48-57 SpaceBefore(
|
|
SpaceAfter(
|
|
Defs(
|
|
Defs {
|
|
tags: [
|
|
EitherIndex(2147483648),
|
|
],
|
|
regions: [
|
|
@48-53,
|
|
],
|
|
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: [
|
|
Body(
|
|
@48-49 Identifier {
|
|
ident: "x",
|
|
},
|
|
@52-53 Num(
|
|
"5",
|
|
),
|
|
),
|
|
],
|
|
},
|
|
@55-57 SpaceBefore(
|
|
Num(
|
|
"42",
|
|
),
|
|
[
|
|
Newline,
|
|
Newline,
|
|
],
|
|
),
|
|
),
|
|
[
|
|
Newline,
|
|
],
|
|
),
|
|
[
|
|
LineComment(
|
|
"######",
|
|
),
|
|
LineComment(
|
|
"## not docs!",
|
|
),
|
|
DocComment(
|
|
"actually docs",
|
|
),
|
|
DocComment(
|
|
"",
|
|
),
|
|
LineComment(
|
|
"#####",
|
|
),
|
|
],
|
|
)
|