roc/crates/compiler/test_mono/generated/unreachable_void_constructor.txt
2025-01-17 19:10:20 -08:00

12 lines
305 B
Text
Generated

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