Merge pull request #5689 from slowhei/master

Improve type inferencing of literals when calling proc groups
This commit is contained in:
gingerBill authored and GitHub committed 2025-09-26 14:13:05 +01:00
commit 62a03f118e
2 files changed
+160

No files matched your search

+4
View File
@@ -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++;
}
}