Stable sort in std.algorithm throws Range violation

Jonathan M Davis jmdavisProg at gmx.com
Fri Apr 8 15:35:29 PDT 2011


On 2011-04-08 02:09, Matthias Walter wrote:
> Hi,
> 
> when using the most recent D2/32bit version from github of
> 
> dmd+druntime+phobos I get a Range violation from the following code:
> | import std.algorithm;
> | 
> | void main(char[][] args)
> | {
> | 
> |   sort!("a < b", SwapStrategy.stable)([1,0, 3, 2]);
> | 
> | }
> 
> Can anybody confirm this? Shall I file a bug?
> 
> best regards,

Please do not post to this list. It's intended for receiving messages from 
bugzilla, not for posting to. I don't know why posting to it is even enabled. 
Please post bugs to bugzilla. If you want to discuss the bug, then post on the 
D.learn or D lists.

As for this porticular bug, I believe that it is

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

- Jonathan M Davis


More information about the Digitalmars-d-bugs mailing list