mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Use new try impl for ? operator
This commit is contained in:
parent
193c23bac8
commit
de626102c8
20 changed files with 429 additions and 110 deletions
|
@ -380,6 +380,7 @@ impl<'a> LowerParams<'a> {
|
|||
ok_payload_var: _,
|
||||
err_payload_var: _,
|
||||
err_ext_var: _,
|
||||
kind: _,
|
||||
} => {
|
||||
expr_stack.push(&mut result_expr.value);
|
||||
}
|
||||
|
|
|
@ -105,7 +105,7 @@ pub fn remove_module_param_arguments(
|
|||
| TypeError::ExpectedEffectful(_, _)
|
||||
| TypeError::UnsuffixedEffectfulFunction(_, _)
|
||||
| TypeError::SuffixedPureFunction(_, _)
|
||||
| TypeError::InvalidTryTarget(_, _) => {}
|
||||
| TypeError::InvalidTryTarget(_, _, _) => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue