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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 9 08:17:20 PDT 2011


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



--- Comment #15 from Stewart Gordon <smjg at iname.com> 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.  See issue 2331, issue 2414 and
probably others.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list