[Issue 17187] Error when using std.format.unformatValue with static arrays
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 6 13:03:06 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=17187
berni44 <bugzilla at d-ecke.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at d-ecke.de
--- Comment #2 from berni44 <bugzilla at d-ecke.de> ---
I don't think this is a valid bug. In the second example you are converting
from dchar to dchar while in the first you are converting from dchar to char.
-- Imagine, the string contains three chinese symbols instead of `a`s. They
never fit into char[3].
--
More information about the Digitalmars-d-bugs
mailing list