Thanks for the catch. Bug report with patch created:
http://dev.clojure.org/jira/browse/CLJ-962
Andy
On Mar 29, 2012, at 2:15 AM, stirfoo wrote:
>
> user=> (nth (subvec [:??? 1 2] 1) -1)
> :???
>
> This could be a bug, not sure.
>
> Only the upper bound of the internal SubVec is being check
On Thu, Mar 29, 2012 at 5:15 AM, stirfoo wrote:
>
> user=> (nth (subvec [:??? 1 2] 1) -1)
> :???
>
> This could be a bug, not sure.
>
> Only the upper bound of the internal SubVec is being checked.
Hmm. This also raises the specter of
(let [a (some-very-large-vector-with-millions-of-elements)
user=> (nth (subvec [:??? 1 2] 1) -1)
:???
This could be a bug, not sure.
Only the upper bound of the internal SubVec is being checked.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
No