May 19, 2026
6:32 a.m.
When a class member is declared with explicit bounds (Private mArr(N) or Public mArr(N)) the SAFEARRAY created at instance construction was missing FADF_FIXEDSIZE, so interp_redim's fixed-size guard silently accepted a later ReDim from a method body. Set the flag (and FADF_STATIC) to match interp_dim's handling of local fixed-size arrays, so ReDim raises err 10 like native. -- v2: vbscript: Mark class member fixed-size arrays as FADF_FIXEDSIZE. vbscript/tests: Add tests for ReDim on class member arrays. https://gitlab.winehq.org/wine/wine/-/merge_requests/10927