core: improve function call errors #437

Merged
sb10q merged 2 commits from improve-call-errors into master 2024-06-27 14:06:56 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8ca06b5a25 - Show all commits

View File

@ -704,7 +704,7 @@ impl Unifier {
}
// After checking posargs and kwargs, check if there are any
// unsupported required parameters, and throw an error if they exist.
// unsupplied required parameters, and throw an error if they exist.
let missing_arg_names = param_info_by_name
.values()
.filter(|param_info| param_info.param.is_required() && !param_info.has_been_supplied)