mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Expect no longer crashes
This commit is contained in:
parent
0ed013b928
commit
8fc663b735
4 changed files with 17 additions and 2 deletions
|
@ -5175,8 +5175,9 @@ fn run_low_level<'a, 'ctx, 'env>(
|
|||
|
||||
bd.position_at_end(throw_block);
|
||||
|
||||
throw_exception(env, "assert failed!");
|
||||
call_void_bitcode_fn(env, &[], bitcode::EXPECT_FAILED);
|
||||
|
||||
bd.build_unconditional_branch(then_block);
|
||||
bd.position_at_end(then_block);
|
||||
|
||||
cond
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue