pub fn default_wrong_type(
args: &[PreExp],
fun: &dyn RoocFunction,
context: &TypeCheckerContext,
fn_context: &FunctionContext<'_>,
) -> TransformErrorExpand description
Creates a type error for wrong argument types.
ยงArguments
args- The actual arguments passedfun- The function being calledcontext- Type checker contextfn_context- Function context