May 17, 2026
8:50 a.m.
A separate ExecuteGlobal can re-encounter a name that was already Dim'd as an array (dynamic or fixed) in an earlier compile unit. Native raises err 13 (Type mismatch) for this case. Wine silently accepted the dynamic form and leaked E_FAIL as a raw HRESULT for the fixed form. Check for an existing array variant at the start of interp_dim's FUNC_GLOBAL branch and raise VBSE_TYPE_MISMATCH consistently. Re-Dim'ing a previously scalar Dim continues to work. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10928