5 Aug
2025
5 Aug
'25
2:32 p.m.
Fixes a crash with parameterized interfaces that have methods containing array argument(s). ``` namespace Test { interface ITest1<T>; [ uuid(006735f5-5f5d-4c39-9106-e1821b4caf04) ] interface ITest1<T> { void Method1([in] int a, [out, retval, size_is(a)]T *v); } declare { interface ITest1<int>; } } ``` widl: ../tools/widl/typegen.c:378: enum typegen_type typegen_detect_type(const type_t *, const attr_list_t *, unsigned int): Assertion `0' failed. -- v2: widl: Fix crash while replacing type parameters for arrays. https://gitlab.winehq.org/wine/wine/-/merge_requests/8713