Skip to content

Commit d975d25

Browse files
committed
remove call to vec from simple-vector
1 parent fa643f1 commit d975d25

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
@@ -12334,7 +12334,7 @@ reduces them without incurring seq initialization"
1233412334
[& args]
1233512335
(if (and (instance? IndexedSeq args) (zero? (.-i args)))
1233612336
(.fromArray Vector (.-arr args) (not (array? (.-arr args))))
12337-
(vec args)))
12337+
(Vector. nil (into-array args) nil)))
1233812338

1233912339
; The keys field is an array of all keys of this map, in no particular
1234012340
; order. Any string, keyword, or symbol key is used as a property name

0 commit comments

Comments
 (0)