digitalmars.D.bugs - Stable sort in std.algorithm throws Range violation
- Matthias Walter (12/12) Apr 08 2011 Hi,
- Jonathan M Davis (8/25) Apr 08 2011 Please do not post to this list. It's intended for receiving messages fr...
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, Matthias Walter
Apr 08 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
Apr 08 2011