On 01/20/2012 08:44 PM, Andrej Mitrovic wrote:
Probably Windows-only:void main() { string a = "foo"; "foo" = "bar"; writeln(a); // "foo" assert(a == "foo"); // failure }
I think this is a bug. This causes a segmentation fault on Linux DMD 2.057. Plus, assigning a literal to a literal doesn't make sense...