Thread overview
[Issue 8386] New: writeln stopped working with wstring
Jul 13, 2012
Vladimir Panteleev
Jul 16, 2012
Jonathan M Davis
Jul 16, 2012
Kenji Hara
Jul 17, 2012
Kenji Hara
July 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8386

           Summary: writeln stopped working with wstring
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: thecybershadow@gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow@gmail.com> 2012-07-13 05:41:38 PDT ---
import std.stdio;

void main()
{
    wstring s = "Hello, world!"w;
    writeln(s);
}

Prints "Hello, world!" in DMD 2.059, prints only "H" in git

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 16, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8386


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei@metalanguage.com


--- Comment #1 from Andrei Alexandrescu <andrei@metalanguage.com> 2012-07-16 00:44:56 PDT ---
Is that on Windows, or on other platforms as well?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 16, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8386


Jonathan M Davis <jmdavisProg@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg@gmx.com


--- Comment #2 from Jonathan M Davis <jmdavisProg@gmx.com> 2012-07-16 00:47:04 PDT ---
It prints "H" on Linux as well.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 16, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8386


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, wrong-code


--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2012-07-16 01:09:52 PDT ---
https://github.com/D-Programming-Language/phobos/pull/697

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 16, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8386



--- Comment #4 from github-bugzilla@puremagic.com 2012-07-16 10:32:35 PDT ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 17, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8386


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------