Merge pull request #5689 from slowhei/master
Improve type inferencing of literals when calling proc groups
This commit is contained in:
2 files changed
+160
No files matched your search
@@ -7007,6 +7007,10 @@ gb_internal CallArgumentData check_call_arguments_proc_group(CheckerContext *c,
|
||||
array_unordered_remove(&procs, proc_index);
|
||||
continue;
|
||||
}
|
||||
if (!pt->Proc.variadic && max_arg_count != ISIZE_MAX && param_count < max_arg_count) {
|
||||
array_unordered_remove(&procs, proc_index);
|
||||
continue;
|
||||
}
|
||||
proc_index++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user