mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-23 12:02:28 +00:00

... and enforce that defs can only occur in blocks (or, inside parenthesized expressions)
57 lines
1.4 KiB
Text
57 lines
1.4 KiB
Text
SpaceBefore(
|
|
SpaceAfter(
|
|
Backpassing(
|
|
[
|
|
@18-19 Identifier {
|
|
ident: "x",
|
|
},
|
|
],
|
|
@23-32 ParensAround(
|
|
Closure(
|
|
[
|
|
@25-26 Identifier {
|
|
ident: "y",
|
|
},
|
|
],
|
|
@30-31 Var {
|
|
module_name: "",
|
|
ident: "y",
|
|
},
|
|
),
|
|
),
|
|
@33-43 SpaceBefore(
|
|
Backpassing(
|
|
[
|
|
@33-34 Identifier {
|
|
ident: "z",
|
|
},
|
|
],
|
|
@38-40 Record(
|
|
[],
|
|
),
|
|
@42-43 SpaceBefore(
|
|
Var {
|
|
module_name: "",
|
|
ident: "x",
|
|
},
|
|
[
|
|
Newline,
|
|
Newline,
|
|
],
|
|
),
|
|
),
|
|
[
|
|
Newline,
|
|
],
|
|
),
|
|
),
|
|
[
|
|
Newline,
|
|
],
|
|
),
|
|
[
|
|
LineComment(
|
|
" leading comment",
|
|
),
|
|
],
|
|
)
|