roc/crates/compiler/test_mono/generated/unreachable_void_constructor.txt
Ayaz Hafiz f41936d5e5
Unwrap layouts containing void layouts as newtypes
Addresses the attempt to do so in https://github.com/roc-lang/roc/pull/3465

Co-authored-by: Folkert <folkert@folkertdev.nl>
2022-09-19 16:50:49 -05:00

7 lines
185 B
Text

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