April 28, 2026
7:19 p.m.
Follow-up to !10314 ([Wine-Bug 56281](https://bugs.winehq.org/show_bug.cgi?id=56281)) aligning BSTR-vs-numeric and BSTR-vs-Boolean comparison with real Windows VBScript. `var_cmp` now tags numeric literals with `VT_RESERVED` (stripped at every non-comparison boundary) and dispatches on the flag: literal to numeric coerce + error 13, non-literal to string-compare against `CStr(numeric)`. `VT_BOOL` uses hardcoded `"True"`/`"False"`. A new `OP_strip_reserved` opcode after Const inlining makes `Const` behave like a variable read. -- v11: vbscript: Match Windows BSTR-vs-numeric and BSTR-vs-Boolean comparison. https://gitlab.winehq.org/wine/wine/-/merge_requests/10766