April 29, 2026
10 p.m.
On Wed Apr 29 21:54:44 2026 +0000, Francis De Brabandere wrote:
Native VarCmp accepts VT_I8 but rejects VT_UI8, VT_UI2, VT_UI4, VT_UINT and VT_I1 with TYPE_MISMATCH (per oleaut32/tests/vartest.c test_VarCmp). So delegating to VarCmp+VT_RESERVED only covers the I8 case; the others would still need a separate path. And it still swallows the parse-error on a non-numeric BSTR (returns VARCMP_GT instead of error 13), so we'd need a pre-check. On the other hand I did not test all these cases as they are not vbscript native
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10775#note_138278