On Wednesday, 19 June 2013 at 03:46:11 UTC, Joseph Rushton Wakeling wrote:
On 06/19/2013 02:56 AM, finalpatch wrote:
in the declaration of RandomSample it only checks for isInputRange, but in the implementation it calls the .save() method which is only available in forward
ranges.

What compiler and version are you using? This was reported here:
http://d.puremagic.com/issues/show_bug.cgi?id=10265

... and fixed in this pull request:
https://github.com/D-Programming-Language/phobos/pull/1332

I was testing with DMD 2.063

Reply via email to