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@winehq.org Reporter: francisdb@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
https://bugs.winehq.org/show_bug.cgi?id=56931
francisdb francisdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Const used before |vbscript - Const used |declaration fails |before declaration fails |(explicit) |(explicit)
https://bugs.winehq.org/show_bug.cgi?id=56931
francisdb francisdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|vbscript - Const used |vbscript: Const used before |before declaration fails |declaration fails |(explicit) |(explicit)