[Git][wine/wine][master] 2 commits: vbscript/tests: Add tests for Cxxx coercion of Null and Nothing.
Alexandre Julliard pushed to branch master at wine / wine Commits: 6908f9ac by Francis De Brabandere at 2026-05-18T21:58:30+02:00 vbscript/tests: Add tests for Cxxx coercion of Null and Nothing. - - - - - a7284ee6 by Francis De Brabandere at 2026-05-18T21:58:30+02:00 vbscript: Raise err 94 on Cxxx(Null) and err 91 on Cxxx(Nothing). Native cscript raises VBSE_ILLEGAL_NULL_USE (94) when Null is passed to a Cxxx coercion builtin, and VBSE_OBJECT_VARIABLE_NOT_SET (91) for Nothing. Wine was returning whatever VariantChangeType bubbled up (DISP_E_TYPEMISMATCH -> 13, DISP_E_BADVARTYPE -> 458). Factor the checks into a single helper and run it at the top of each Cxxx builtin. - - - - - 2 changed files: - dlls/vbscript/global.c - dlls/vbscript/tests/lang.vbs View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/d83e7764ac5d9be07e453b31902df4... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/d83e7764ac5d9be07e453b31902df4... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)