Alexandre Julliard pushed to branch master at wine / wine Commits: b9ff78fd by Francis De Brabandere at 2026-06-11T16:08:06+02:00 vbscript: Allow Dim to shadow a global const from a previous compile unit. 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. - - - - - 2 changed files: - dlls/vbscript/tests/lang.vbs - dlls/vbscript/vbscript.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/b9ff78fd17d9af5ad87403820fa2649... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/b9ff78fd17d9af5ad87403820fa2649... 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