[Issue 2093] string concatenation modifies original

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 22 01:58:03 PST 2008


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





------- Comment #5 from ddparnell at bigpond.com  2008-11-22 03:58 -------

I thought 'string' types were immutable and thus ...

  s1.length = 0;

should fail as it updates the string (trucates it to zero characters).


-- 



More information about the Digitalmars-d-bugs mailing list