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


Salih Dincer <sali...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sali...@hotmail.com


--- Comment #5 from Salih Dincer <sali...@hotmail.com> 2012-02-22 06:45:38 PST 
---
(In reply to comment #4)
> Fixed for D2 only.

void main() {
    int[] array = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ];
    writeln(array, "~", ++array.length,
                  "->", --array.length);
    assert (array.length == 10);        // no problem
    ++array.length;
    --array.length;
    writeln(array, "~", array.length);    
}

DMD version: 2.057
==================
salih@DB-N150-N210-N220:~/d.ders$ ./dene
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]~11->10
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]~10

No problem...

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

Reply via email to