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


Andrej Mitrovic <andrej.mitrov...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrov...@gmail.com


--- Comment #2 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-05-25 
08:37:54 PDT ---
I don't know if a bug is opened about this but it seems relevant:

import std.algorithm;
import std.stdio;

void main()
{
   int[] a = [1, 2, 3];
   a = a.remove(3);
   writeln(a);
}

writes [1, 2]

This should throw since index 3 is out of bounds.

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

Reply via email to