[Issue 1339] Invariant/const-ness is broken by built-in array properties sort and reverse

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1339 Andrei Alexandrescu changed: What|Removed |Added Version|2.002 |D2 --

[Issue 1339] Invariant/const-ness is broken by built-in array properties sort and reverse

2011-10-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 1339] Invariant/const-ness is broken by built-in array properties sort and reverse

2011-07-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #16 from yeb

[Issue 1339] Invariant/const-ness is broken by built-in array properties sort and reverse

2011-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 --- Comment #15 from Stewart Gordon 2011-04-09 08:13:36 PDT --- (In reply to comment #14) > The same happens with enum arrays: > > enum int[] data = [3, 1, 2]; > void main() { > data.sort; > } Array enums have enough problems of their own

[Issue 1339] Invariant/const-ness is broken by built-in array properties sort and reverse

2011-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 --- Comment #14 from bearophile_h...@eml.cc 2011-04-06 16:56:23 PDT --- The same happens with enum arrays: enum int[] data = [3, 1, 2]; void main() { data.sort; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=ema

[Issue 1339] Invariant/const-ness is broken by built-in array properties sort and reverse

2010-05-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 --- Comment #13 from Don 2010-05-10 01:44:42 PDT --- There's a bit of code in druntime, in rt/adi.d which is affected by this. extern (C) long _adSortChar(char[] a) { if (a.length > 1) { -dstring da = toUTF32(a); +dchar

[Issue 1339] Invariant/const-ness is broken by built-in array properties sort and reverse

2010-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com

[Issue 1339] Invariant/const-ness is broken by built-in array properties sort and reverse

2010-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 --- Comment #11 from Steven Schveighoffer 2010-05-06 13:38:49 PDT --- Don, while you are looking at this, have a look at related bug 3550 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving

[Issue 1339] Invariant/const-ness is broken by built-in array properties sort and reverse

2010-05-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 Don changed: What|Removed |Added Keywords||patch CC|

[Issue 1339] Invariant/const-ness is broken by built-in array properties sort and reverse

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

[Issue 1339] Invariant/const-ness is broken by built-in array properties

2009-02-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 --- Comment #8 from 2kor...@gmail.com 2009-02-19 18:06 --- (In reply to comment #7) > Oh yes. Increasing .length always reallocates under 2.025, whether const, > invariant or not. The problem is that concatenation doesn't. > Do yo

[Issue 1339] Invariant/const-ness is broken by built-in array properties

2009-02-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 --- Comment #7 from s...@iname.com 2009-02-19 13:59 --- Oh yes. Increasing .length always reallocates under 2.025, whether const, invariant or not. The problem is that concatenation doesn't. --

[Issue 1339] Invariant/const-ness is broken by built-in array properties

2009-02-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 --- Comment #6 from ma...@pochta.ru 2009-02-19 04:04 --- > What did? With which DMD version? The first testcase did. DMD version is specified in the bugreport. My version is 2.023. --

[Issue 1339] Invariant/const-ness is broken by built-in array properties

2009-02-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 --- Comment #5 from s...@iname.com 2009-02-19 03:41 --- (In reply to comment #4) > (In reply to comment #3) >> It reallocated array on increasing length. Seems valid. What did - the testcase here with checking added, the testcase at

[Issue 1339] Invariant/const-ness is broken by built-in array properties

2009-02-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 --- Comment #4 from 2kor...@gmail.com 2009-02-19 03:27 --- (In reply to comment #3) > It reallocated array on increasing length. Seems valid. > Yes, the length part is fine. Here is slightly modified test case: import std.stdio; im

[Issue 1339] Invariant/const-ness is broken by built-in array properties

2009-02-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 --- Comment #3 from ma...@pochta.ru 2009-02-19 02:55 --- It reallocated array on increasing length. Seems valid. --

[Issue 1339] Invariant/const-ness is broken by built-in array properties

2009-02-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 --- Comment #2 from s...@iname.com 2009-02-18 15:51 --- Did I mean 2544? In any case, bug 2093 is one that the .length bit especially certainly is related to. --

[Issue 1339] Invariant/const-ness is broken by built-in array properties

2009-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1339 s...@iname.com changed: What|Removed |Added CC||s...@iname.com --- Comment #1 fr