mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
preserve semantics in the glue generation
This commit is contained in:
parent
6d2d65bb1e
commit
bb97c384bb
4 changed files with 13 additions and 11 deletions
|
@ -144,13 +144,13 @@ procedure Test.6 (Test.27, Test.28):
|
|||
ret Test.37;
|
||||
|
||||
procedure Test.76 (Test.77):
|
||||
let Test.78 : {{}, []} = Unbox Test.77;
|
||||
let Test.78 : {{}, []} = UnionAtIndex (Id 0) (Index 0) Test.77;
|
||||
dec Test.77;
|
||||
let Test.79 : {} = StructAtIndex 0 Test.78;
|
||||
ret Test.79;
|
||||
|
||||
procedure Test.80 (Test.81):
|
||||
let Test.82 : {{}, []} = Unbox Test.81;
|
||||
let Test.82 : {{}, []} = UnionAtIndex (Id 0) (Index 0) Test.81;
|
||||
dec Test.81;
|
||||
let Test.83 : [] = StructAtIndex 1 Test.82;
|
||||
ret Test.83;
|
||||
|
|
|
@ -7,13 +7,13 @@ procedure Test.1 (Test.2, Test.3):
|
|||
ret Test.21;
|
||||
|
||||
procedure Test.30 (Test.31):
|
||||
let Test.32 : {U8, {}} = Unbox Test.31;
|
||||
let Test.32 : {U8, {}} = UnionAtIndex (Id 0) (Index 0) Test.31;
|
||||
dec Test.31;
|
||||
let Test.33 : U8 = StructAtIndex 0 Test.32;
|
||||
ret Test.33;
|
||||
|
||||
procedure Test.34 (Test.35):
|
||||
let Test.36 : {U8, {}} = Unbox Test.35;
|
||||
let Test.36 : {U8, {}} = UnionAtIndex (Id 0) (Index 0) Test.35;
|
||||
dec Test.35;
|
||||
let Test.37 : {} = StructAtIndex 1 Test.36;
|
||||
ret Test.37;
|
||||
|
|
|
@ -7,13 +7,13 @@ procedure Test.1 (Test.2, Test.3):
|
|||
ret Test.21;
|
||||
|
||||
procedure Test.30 (Test.31):
|
||||
let Test.32 : {U8, {}} = Unbox Test.31;
|
||||
let Test.32 : {U8, {}} = UnionAtIndex (Id 0) (Index 0) Test.31;
|
||||
dec Test.31;
|
||||
let Test.33 : U8 = StructAtIndex 0 Test.32;
|
||||
ret Test.33;
|
||||
|
||||
procedure Test.34 (Test.35):
|
||||
let Test.36 : {U8, {}} = Unbox Test.35;
|
||||
let Test.36 : {U8, {}} = UnionAtIndex (Id 0) (Index 0) Test.35;
|
||||
dec Test.35;
|
||||
let Test.37 : {} = StructAtIndex 1 Test.36;
|
||||
ret Test.37;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue