February 14, 2017
https://issues.dlang.org/show_bug.cgi?id=17180

ag0aep6g@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g@gmail.com

--- Comment #1 from ag0aep6g@gmail.com ---
1) I see two quotes when I run your code. The last one is not gone. I'm running dmd 2.073.0 on Ubuntu linux. What version of dmd and what operating system are you on?

2) If there is a problem here, I don't think it's with to!string. For any char c, it returns a string [c]. Making '\0' an exception would be surprising. '\0' is a valid char, and "\0" is a valid string (with length 1).

--
February 14, 2017
https://issues.dlang.org/show_bug.cgi?id=17180

jiki@red.email.ne.jp changed:

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

--- Comment #2 from jiki@red.email.ne.jp ---
(In reply to ag0aep6g from comment #1)
> 1) I see two quotes when I run your code. The last one is not gone. I'm running dmd 2.073.0 on Ubuntu linux. What version of dmd and what operating system are you on?

Ooops! I should have tested it _without_ my development tool... On windows command prompt, it works correctly.

I am sorry. closing this.

--