roc/compiler/parse/tests/snapshots/pass/where_clause_multiple_has.expr.result-ast
Richard Feldman 531d254bca
Fix parser tests
Regions changed in 15187024233795c059342adc3c23b8a148a7f26e
2022-05-06 12:10:08 -04:00

66 lines
1.9 KiB
Text

Defs(
[
@0-48 Value(
Annotation(
@0-1 Identifier(
"f",
),
@4-48 Where(
@4-16 Function(
[
@4-5 BoundVariable(
"a",
),
],
@10-16 Function(
[
@10-11 BoundVariable(
"b",
),
],
@15-16 BoundVariable(
"c",
),
),
),
[
@20-27 HasClause {
var: @20-21 "a",
ability: @26-27 Apply(
"",
"A",
[],
),
},
@29-37 HasClause {
var: @29-30 "b",
ability: @35-37 Apply(
"",
"Eq",
[],
),
},
@39-48 HasClause {
var: @39-40 "c",
ability: @45-48 Apply(
"",
"Ord",
[],
),
},
],
),
),
),
],
@50-51 SpaceBefore(
Var {
module_name: "",
ident: "f",
},
[
Newline,
Newline,
],
),
)