June 11, 2026
3:18 a.m.
Native VBScript accepts a global Dim whose name matches a const from an earlier compile unit and creates a fresh variable that later name lookups resolve to, so the name becomes readable and assignable, while code in the defining compile unit keeps using the inlined const value. Wine skipped the variable creation, so the name kept resolving to the const and assignments failed with an illegal assignment error. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11121