https://bugs.winehq.org/show_bug.cgi?id=56931 Bug ID: 56931 Summary: Const used before declaration fails (explicit) Product: Wine Version: 9.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs(a)winehq.org Reporter: francisdb(a)gmail.com Distribution: --- --- reproducer script Option explicit If x = 42 Then Wscript.Echo "x is 42" Const x = 42 --- wine wine cscript ./test.vbs 0120:fixme:vbscript:do_icall L"x" not found 0120:fixme:wscript:ActiveScriptSite_OnScriptError () --- windows cscript test.vbs x is 42 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.