Fix error with if-else statements
This commit is contained in:
parent
c51de77269
commit
da39c73036
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ fn convert_if_else(
|
||||||
println!("NOTHING");
|
println!("NOTHING");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
builder.position_at_end(fail_branch);
|
||||||
builder.build_unconditional_branch(exit_block);
|
builder.build_unconditional_branch(exit_block);
|
||||||
|
|
||||||
builder.position_at_end(exit_block);
|
builder.position_at_end(exit_block);
|
||||||
|
|
Loading…
Reference in a new issue