[Issue 7942] Appending a string to a dstring is allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 27 10:31:45 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=7942



--- Comment #2 from Stewart Gordon <smjg at iname.com> 2013-11-27 10:31:41 PST ---
This sounds like a case of a more general bug, whereby x ~= y silently casts y
to the type of x before appending.  Given that array casts are a matter of
reinterpreting the sequence of bytes, this doesn't make sense.  It should
either error at compiletime or convert the string from UTF-8 to UTF-32.

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


More information about the Digitalmars-d-bugs mailing list