|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.bugs - [Issue 3087] New: std.range.retro.opIndex out of range
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: nobody puremagic.com ReportedBy: samhu.samhu gmail.com CC: bugzilla 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: ------- Jun 22 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3087 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Andrei Alexandrescu <andrei metalanguage.com> 2009-08-27 23:40:51 PDT --- Correct, thanks! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- Aug 27 2009
|