[Bug 58051] New: vbscript: Dictionary direct Keys/Items access causes parse error
https://bugs.winehq.org/show_bug.cgi?id=58051 Bug ID: 58051 Summary: vbscript: Dictionary direct Keys/Items access causes parse error Product: Wine Version: 9.13 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: --- Example below Dim dict Set dict = CreateObject("Scripting.Dictionary") dict.Add "key1", 1 dict.Add "key2", 2 Dim i Dim keys: keys = dict.Keys() For i=0 To UBound(dict.Keys) Wscript.Echo i Wscript.Echo keys(i) Wscript.Echo dict.Keys()(i) '<- parser error 'Same for Items Next /opt/wine-devel/bin/wine cscript test.vbs 0138:fixme:vbscript:parser_error L"(i) '<- parser error\r\n 'Same for Items\r\nNext": "syntax error" 0138:fixme:wscript:ActiveScriptSite_OnScriptError () 0138:fixme:wscript:run_script ParseScriptText failed: 80004005 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=58051 francisdb <francisdb(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|9.13 |10.4 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58051 --- Comment #1 from francisdb <francisdb@gmail.com> --- https://gitlab.winehq.org/wine/wine/-/merge_requests/10362 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58051 Gijs Vermeulen <gijsvrm@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |5f5473e1037a7285619bb32b410 | |91f503d8e9775 --- Comment #2 from Gijs Vermeulen <gijsvrm@gmail.com> --- Output with wine-11.6-112-g504683b22d3: 0 key1 key1 1 key2 key2 MR from comment above was merged as <https://gitlab.winehq.org/wine/wine/-/commit/5f5473e1037a7285619bb32b41091f5...>. Marking FIXED. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58051 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard@winehq.org> --- Closing bugs fixed in 11.7. -- 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.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla