http://d.puremagic.com/issues/show_bug.cgi?id=3087
Summary: std.range.retro.opIndex out of range Product: D Version: 2.030 Platform: x86 OS/Version: Windows Status: NEW Keywords: wrong-code Severity: normal Priority: P4 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: samhu.sa...@gmail.com CC: bugzi...@digitalmars.com static if (isRandomAccessRange!(R) && hasLength!(R)) ref ElementType!(R) opIndex(uint n) { return _input[_input.length - n + 1]; } Shouldn't it be _input.length-(n+1) ? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------