[Bug 58056] New: vbscript: Directly indexing a Split returns Empty
https://bugs.winehq.org/show_bug.cgi?id=58056 Bug ID: 58056 Summary: vbscript: Directly indexing a Split returns Empty Product: Wine Version: 10.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: --- test.vbs Dim s: s = "1;2" Dim a: a = Split(s, ";")(0) Wscript.Echo "a: " & TypeName(a) Wscript.Echo "a = " & a Dim b: b = Split(s, ";") Dim c: c = b(0) Wscript.Echo "c: " & TypeName(c) Wscript.Echo "c = " & c ❯ /opt/wine-devel/bin/wine cscript test.vbs a: Empty a = c: String c = 1 -- 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=58056 --- Comment #1 from francisdb <francisdb@gmail.com> --- https://gitlab.winehq.org/wine/wine/-/merge_requests/10308 -- 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=58056 Gijs Vermeulen <gijsvrm@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |8706a2f3661a3ba9acaf96a7f78 | |56e0b14a09701 --- Comment #2 from Gijs Vermeulen <gijsvrm@gmail.com> --- Output with wine-11.6-112-g504683b22d3: a: String a = 1 c: String c = 1 MR above was merged as <https://gitlab.winehq.org/wine/wine/-/commit/8706a2f3661a3ba9acaf96a7f7856e0...>. 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=58056 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