On 26/11/2026 09:53, Mikhail Gribkov wrote:
> > AI found another one in FuncnameGetCandidates() in namespace.c:
> >
> > Assert(nargs >= 0 || !(expand_variadic | expand_defaults));
> >
> > I think they belong to the same category and could be addressed together.
>
> Whoa, this one is 18 years old!
>
> Yes, I agree these should be addressed together. Neither issue is truly
> problematic, but cleaning up the code would be nice.
> Attached is the V2-patch fixing both places.
Committed, thanks.
- Heikki