Update parse tests

This commit is contained in:
Ayaz Hafiz 2022-09-20 14:45:52 -05:00
parent fd7b4ec9fc
commit d88452e3d2
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 24 additions and 21 deletions

View file

@ -53,7 +53,7 @@ When(
], ],
), ),
], ],
value: @52-73 Apply( value: @52-78 Apply(
@52-56 Tag( @52-56 Tag(
"Node", "Node",
), ),
@ -64,10 +64,11 @@ When(
@63-64 Num( @63-64 Num(
"0", "0",
), ),
@65-70 Tag( @65-75 Var {
"False", module_name: "Bool",
), ident: "false",
@71-73 Var { },
@76-78 Var {
module_name: "", module_name: "",
ident: "ry", ident: "ry",
}, },

View file

@ -7,18 +7,19 @@ BinOps(
@2-3 Star, @2-3 Star,
), ),
], ],
@4-25 If( @4-30 If(
[ [
( (
@7-11 Tag( @7-16 Var {
"True", module_name: "Bool",
), ident: "true",
@17-18 Num( },
@22-23 Num(
"1", "1",
), ),
), ),
], ],
@24-25 Num( @29-30 Num(
"1", "1",
), ),
), ),

View file

@ -1,28 +1,29 @@
Record( Record(
[ [
@1-26 RequiredValue( @1-31 RequiredValue(
@1-2 "x", @1-2 "x",
[], [],
@5-26 If( @5-31 If(
[ [
( (
@8-12 Tag( @8-17 Var {
"True", module_name: "Bool",
), ident: "true",
@18-19 Num( },
@23-24 Num(
"1", "1",
), ),
), ),
], ],
@25-26 Num( @30-31 Num(
"2", "2",
), ),
), ),
), ),
@28-32 RequiredValue( @33-37 RequiredValue(
@28-29 "y", @33-34 "y",
[], [],
@31-32 Num( @36-37 Num(
"3", "3",
), ),
), ),