Skip to content

Commit dba928b

Browse files
committed
fix all the ObjMap ctor sites
1 parent 3105284 commit dba928b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12356,7 +12356,7 @@ reduces them without incurring seq initialization"
1235612356
(-equiv this other))
1235712357

1235812358
IWithMeta
12359-
(-with-meta [coll meta] (ObjMap. meta keys strobj))
12359+
(-with-meta [coll meta] (ObjMap. meta keys strobj __hash))
1236012360

1236112361
IMeta
1236212362
(-meta [coll] meta)
@@ -12459,9 +12459,9 @@ reduces them without incurring seq initialization"
1245912459
(-pr-writer [coll writer opts]
1246012460
(print-map coll pr-writer writer opts)))
1246112461

12462-
(set! (. ObjMap -EMPTY) (ObjMap. nil (array) (js-obj)))
12462+
(set! (. ObjMap -EMPTY) (ObjMap. nil (array) (js-obj) empty-ordered-hash))
1246312463

12464-
(set! (. ObjMap -fromObject) (fn [ks obj] (ObjMap. nil ks obj)))
12464+
(set! (. ObjMap -fromObject) (fn [ks obj] (ObjMap. nil ks obj nil)))
1246512465

1246612466
(defn obj-map
1246712467
"keyval => key val

0 commit comments

Comments
 (0)