Bug 8386 – writeln stopped working with wstring

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-07-13T05:41:00Z
Last change time
2012-07-16T19:07:42Z
Keywords
pull, wrong-code
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2012-07-13T05:41:38Z
import std.stdio; void main() { wstring s = "Hello, world!"w; writeln(s); } Prints "Hello, world!" in DMD 2.059, prints only "H" in git
Comment #1 by andrei — 2012-07-16T00:44:56Z
Is that on Windows, or on other platforms as well?
Comment #2 by issues.dlang — 2012-07-16T00:47:04Z
It prints "H" on Linux as well.
Comment #3 by k.hara.pg — 2012-07-16T01:09:52Z
Comment #4 by github-bugzilla — 2012-07-16T10:32:35Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/07ec7ce34f22504e78eda2019a37d4dec6dea2af fix Issue 8386 - writeln stopped working with wstring https://github.com/D-Programming-Language/phobos/commit/2a51ae004eebc0620df79fac34a3dde88dace43f Merge pull request #697 from 9rnsr/fix8386 Issue 8386 - writeln stopped working with wstring