roc/crates/compiler/test_syntax/tests/snapshots/pass/multi_backpassing.expr.result-ast
Joshua Warner b4fa7294c7
Extend test_syntax to check that canonicalization doesn't panic on the input
Importantly, this would have caught the issue discovered in #7279, prior to that landing on main.
2024-12-06 17:13:10 -08:00

51 lines
1.1 KiB
Text

@0-30 SpaceAfter(
Backpassing(
[
@0-1 Identifier {
ident: "x",
},
@3-4 Identifier {
ident: "y",
},
],
@8-23 Apply(
@8-17 Var {
module_name: "List",
ident: "map2",
},
[
@18-20 List(
[],
),
@21-23 List(
[],
),
],
Space,
),
@25-30 SpaceBefore(
BinOps(
[
(
@25-26 Var {
module_name: "",
ident: "x",
},
@27-28 Plus,
),
],
@29-30 Var {
module_name: "",
ident: "y",
},
),
[
Newline,
Newline,
],
),
),
[
Newline,
],
)