mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00

Figuring out what this module was doing, and why, took me a bit less than half an hour. We should document what's happening for others in the future so they don't need to follow up on Zulip necessarily.
18 lines
765 B
Text
18 lines
765 B
Text
procedure Test.2 (Test.3):
|
|
let Test.12 : Builtin(Bool) = 1i64;
|
|
let Test.13 : Builtin(Bool) = GetTagId Test.3;
|
|
let Test.14 : Builtin(Bool) = lowlevel Eq Test.12 Test.13;
|
|
if Test.14 then
|
|
let Test.10 : Builtin(Bool) = true;
|
|
ret Test.10;
|
|
else
|
|
let Test.11 : Builtin(Bool) = false;
|
|
ret Test.11;
|
|
|
|
procedure Test.0 ():
|
|
let Test.15 : Builtin(Int(I64)) = 2i64;
|
|
let Test.16 : Union(NullableUnwrapped { nullable_id: true, other_fields: [Builtin(Int(I64)), RecursivePointer] }) = Nil ;
|
|
let Test.9 : Union(NullableUnwrapped { nullable_id: true, other_fields: [Builtin(Int(I64)), RecursivePointer] }) = Cons Test.15 Test.16;
|
|
let Test.8 : Builtin(Bool) = CallByName Test.2 Test.9;
|
|
dec Test.9;
|
|
ret Test.8;
|