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

John Colvin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |john.loughran.colvin@gmail.
                   |                            |com
         Resolution|---                         |INVALID

--- Comment #1 from John Colvin <[email protected]> ---
You're writing to a string literal, which isn't allowed.

change to 

dchar[] a = "aaa"d.dup;

and it works fine.

--

Reply via email to