Skip to content

Commit 5845b89

Browse files
committed
don't cross wires, only use Vector in simple-map-entry when LITE_MODE=true
1 parent 591b5a8 commit 5845b89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10400,7 +10400,9 @@ reduces them without incurring seq initialization"
1040010400
(or (== k 0) (== k 1)))
1040110401
ICollection
1040210402
(-conj [coll x]
10403-
(Vector. nil #js [k v x] nil))
10403+
(if ^boolean LITE_MODE
10404+
(Vector. nil #js [k v x] nil)
10405+
[k v x]))
1040410406
IMapEntry
1040510407
(-key [_] k)
1040610408
(-val [_] v)

0 commit comments

Comments
 (0)