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

[email protected] changed:

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

--- Comment #2 from [email protected] ---
void f(wchar[] s)
{
    s[]="a"w;
}
works. 

Obviously in the original example it fails because of the encoding of the
literal and the one of the target variable is not the same.

Did it use to work ? (even with IDEone, dmd 2.067, it fails).

--

Reply via email to