[CLJ-962] Vectors returned by subvec allow access at negative indices Created: 29/Mar/12 Updated: 18/May/12 Resolved: 18/May/12
|Fix Version/s:||Release 1.5|
|Patch:||Code and Test|
Google group thread: https://mail.google.com/mail/?shva=1#label/clojure/1365e058eaf0d5fa
Vectors returned by subvec correctly disallow access to elements after their end, but not before their beginning.
|Comment by Andy Fingerhut [ 29/Mar/12 10:12 AM ]|
One-line simple fix. clj-962-subvec-nth-throws-on-negative-index-patch1.txt dated March 29, 2012 applies, builds, and tests cleanly on latest master. Includes a few new tests that exhibit the problem. One author has signed CA.
|Comment by Alan Dipert [ 20/Apr/12 1:52 PM ]|
I checked this out and it looks good to me, thank you.
|Comment by Andy Fingerhut [ 10/May/12 6:29 PM ]|
clj-962-subvec-nth-throws-on-negative-index-patch2.txt dated May 10, 2012 is identical to previous patch clj-962-subvec-nth-throws-on-negative-index-patch1.txt dated Mar 29, 2012, except previous one failed to apply cleanly to latest master because of some lines of context changing in the source code.