add error test case

This commit is contained in:
Brendan Hansknecht 2022-02-27 00:45:51 -08:00
parent b802d681a3
commit d9e9c28889
2 changed files with 18 additions and 1 deletions

View file

@ -2326,7 +2326,7 @@ fn list_replace(symbol: Symbol, var_store: &mut VarStore) -> Def {
// Otherwise, return the list unmodified.
let body = If {
cond_var: bool_var,
branch_var: var_store.fresh(),
branch_var: ret_result_var,
branches: vec![(
// if-condition
no_region(