mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00

Importantly, this would have caught the issue discovered in #7279, prior to that landing on main.
35 lines
874 B
Text
35 lines
874 B
Text
@0-25 SpaceAfter(
|
|
When(
|
|
@5-6 Num(
|
|
"0",
|
|
),
|
|
[
|
|
WhenBranch {
|
|
patterns: [
|
|
@14-20 SpaceBefore(
|
|
As(
|
|
@14-15 Underscore(
|
|
"",
|
|
),
|
|
PatternAs {
|
|
spaces_before: [],
|
|
identifier: @19-20 "n",
|
|
},
|
|
),
|
|
[
|
|
Newline,
|
|
],
|
|
),
|
|
],
|
|
value: @24-25 Var {
|
|
module_name: "",
|
|
ident: "n",
|
|
},
|
|
guard: None,
|
|
},
|
|
],
|
|
),
|
|
[
|
|
Newline,
|
|
],
|
|
)
|