Alexandre Julliard pushed to branch master at wine / wine Commits: b2f00cca by Francis De Brabandere at 2026-03-19T18:31:08+01:00 vbscript: Return proper error for For Each on non-collection types. 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). - - - - - 2 changed files: - dlls/vbscript/interp.c - dlls/vbscript/tests/error.vbs View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/b2f00cca88e39c7675b54b21b24445a... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/b2f00cca88e39c7675b54b21b24445a... You're receiving this email because of your account on gitlab.winehq.org.