[Issue 2093] string concatenation modifies original

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2093 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|2.014 |D2 --

[Issue 2093] string concatenation modifies original

2010-03-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2093 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 2093] string concatenation modifies original

2009-02-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2093 --- Comment #14 from ma...@pochta.ru 2009-02-19 03:04 --- see also bug 2095 comment 6 --

[Issue 2093] string concatenation modifies original

2008-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2093 --- Comment #7 from [EMAIL PROTECTED] 2008-11-22 08:43 --- (In reply to comment #4) Currently an 'owner' is anyone who has a pointer to array's beginning: char[] s = hello.dup; char[] s1 = s[0..4]; s1 ~= !; assert(s != s1); //

[Issue 2093] string concatenation modifies original

2008-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2093 --- Comment #13 from [EMAIL PROTECTED] 2008-11-22 16:31 --- (In reply to comment #12) It seems to me then that this is a design choice - does the string length belong to the string or to the reference? For slices it must be the