Just like in the old compiler, failed inline expects should not halt the program, failures should be reported and execution should continue.
So, "Hello, World!" should still be printed in this case:
roc on ξ main [!] is π¦ v0.0.1 via π¦ via β― v0.15.2
β― ./zig-out/bin/roc test/echo/hello.roc --opt=interpreter
Expect failed: 4 == 5
Roc crashed: 4 == 5
roc on ξ main [!] is π¦ v0.0.1 via π¦ via β― v0.15.2
β― ./zig-out/bin/roc test/echo/hello.roc --opt=dev
Dev backend execution error: error.DevEvaluatorFailed
Just like in the old compiler, failed inline expects should not halt the program, failures should be reported and execution should continue.
So, "Hello, World!" should still be printed in this case: