April 2, 2026
6:17 a.m.
Assigning to a Const variable or a function/sub name should return error 501 (Illegal assignment), not 445 (Object doesn't support this action). Change the REF_CONST and REF_FUNC cases in assign_ident() to use MAKE_VBSERROR(VBSE_ILLEGAL_ASSIGNMENT). -- v2: vbscript: Return "Illegal assignment" error for Const and function assignment. https://gitlab.winehq.org/wine/wine/-/merge_requests/10483