May 7, 2026
3:49 a.m.
When declaring variables with Dim in a visible named item context, check the named item's IDispatch for each variable name via GetIDsOfNames. This matches Windows VBScript behavior where Dim probes the host object before creating the variable. -- v21: vbscript: Use a separate dispatch for top-level declaration probes. vbscript/tests: Cover named-item dim-probe IDispatch fetching corner cases. https://gitlab.winehq.org/wine/wine/-/merge_requests/10393