pub fn default_wrong_number_of_arguments(
fun: &dyn RoocFunction,
args: &[PreExp],
fn_context: &FunctionContext<'_>,
) -> TransformErrorExpand description
Creates an error for wrong number of arguments.
ยงArguments
fun- The function being calledargs- The arguments passedcontext- Type checker contextfn_context- Function context