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

--- Comment #17 from Steven Schveighoffer <schvei...@yahoo.com> ---
There are two problems, one is that the OP's code compiles, the other is that
it segfaults. Arguably, fixing the first problem will fix the second. But just
fixing the second leaves other problems still intact.

Also, note that this succeeds, but likely does not do what the writer wants:

string s = "123456";
s ~= 7;

Guess what this does (yes, it compiles)?

s ~= 123456;

--

Reply via email to