mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Clean up some obsolete asserts
This commit is contained in:
parent
d2d87949c8
commit
67d7385b9a
1 changed files with 0 additions and 2 deletions
|
@ -4464,7 +4464,6 @@ fn expose_function_to_host_help_c_abi_generic<'a, 'ctx>(
|
|||
}
|
||||
|
||||
let call_result = if env.mode.returns_roc_result() {
|
||||
assert!(false);
|
||||
if args.len() == roc_function.get_params().len() {
|
||||
let arguments_for_call = &arguments_for_call.into_bump_slice();
|
||||
|
||||
|
@ -4488,7 +4487,6 @@ fn expose_function_to_host_help_c_abi_generic<'a, 'ctx>(
|
|||
arguments_for_call,
|
||||
)
|
||||
} else {
|
||||
assert!(false);
|
||||
debug_assert_eq!(args.len() + 1, roc_function.get_params().len());
|
||||
|
||||
arguments_for_call.push(args[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue