roc/crates/compiler/test_mono/generated/unreachable_void_constructor.txt
2022-09-22 14:43:32 -05:00

11 lines
268 B
Text

procedure Bool.2 ():
let Bool.11 : Int1 = true;
ret Bool.11;
procedure Test.0 ():
let Test.6 : Int1 = CallByName Bool.2;
if Test.6 then
Error voided tag constructor is unreachable
else
let Test.5 : Str = "abc";
ret Test.5;