[Git][wine/wine][master] vbscript: Raise type mismatch when comparing an array.
Alexandre Julliard pushed to branch master at wine / wine Commits: e3bb4552 by Francis De Brabandere at 2026-06-24T23:38:06+02:00 vbscript: Raise type mismatch when comparing an array. A comparison with an array operand reached VarCmp, which rejects it with DISP_E_BADVARTYPE; that maps to error 458 "Variable uses an Automation type not supported in VBScript". Native raises error 13 "Type mismatch" instead, for every relational operator and regardless of the other operand. Gate array operands in var_cmp before VarCmp is reached. - - - - - 2 changed files: - dlls/vbscript/interp.c - dlls/vbscript/tests/lang.vbs View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/e3bb4552d761ce6a310321eb2d8fdb8... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/e3bb4552d761ce6a310321eb2d8fdb8... 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)