https://issues.dlang.org/show_bug.cgi?id=17180

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
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).

--

Reply via email to