http://d.puremagic.com/issues/show_bug.cgi?id=6458



--- Comment #6 from Jonathan M Davis <jmdavisp...@gmx.com> 2011-08-08 23:19:15 
PDT ---
It shouldn't even compile, because the types don't match. Even with range
propagation, the best that you'll do with '�' is fit it in a wchar, so it won't
fit in a char, and so you _can't_ assign it to each element of s[0 .. 3] like
that. s[0 .. 3] = "�"[] should work, but s[0 .. 3] = '�' definitely shouldn't.

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

Reply via email to