Skip to content

Commit f406b8a

Browse files
committed
fix bug from CLJS-1886 patch, must check backing vector not the subvec
1 parent a041251 commit f406b8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5556,7 +5556,7 @@ reduces them without incurring seq initialization"
55565556

55575557
IIterable
55585558
(-iterator [coll]
5559-
(if (implements? APersistentVector coll)
5559+
(if (implements? APersistentVector v)
55605560
(ranged-iterator v start end)
55615561
(seq-iter coll))))
55625562

0 commit comments

Comments
 (0)