March 19, 2026
5:55 a.m.
Return MAKE_VBSERROR(VBSE_NOT_ENUM) (error 451, "Object not a collection") instead of E_NOTIMPL/E_FAIL when For Each is used on a value that is not a collection. This affects both interp_newenum (when the expression is not a dispatch or array type) and interp_enumnext (when the enumerator was never initialized due to a prior error). -- v2: vbscript: Return proper error for For Each on non-collection types. https://gitlab.winehq.org/wine/wine/-/merge_requests/10375