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

64 lines
1.8 KiB
Text

Defs(
[
@0-45 Type(
Ability {
header: TypeHeader {
name: @0-4 "Hash",
vars: [],
},
loc_has: @5-8 Has,
members: [
AbilityMember {
name: @11-15 SpaceBefore(
"hash",
[
Newline,
],
),
typ: @18-26 Function(
[
@18-19 BoundVariable(
"a",
),
],
@23-26 Apply(
"",
"U64",
[],
),
),
},
AbilityMember {
name: @29-34 SpaceBefore(
"hash2",
[
Newline,
],
),
typ: @37-45 Function(
[
@37-38 BoundVariable(
"a",
),
],
@42-45 Apply(
"",
"U64",
[],
),
),
},
],
},
),
],
@47-48 SpaceBefore(
Num(
"1",
),
[
Newline,
Newline,
],
),
)