ClojureScript

assoc on nil returns PHM (expected PAM)

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

(assoc nil :foo 1) results in a PersistentHashMap in CLJS but a PersistentArrayMap in CLJ.

Activity

Hide
Thomas Heller added a comment -

Updated patch to address warning about undeclared cljs.lang.PersistentArrayMap.

Show
Thomas Heller added a comment - Updated patch to address warning about undeclared cljs.lang.PersistentArrayMap.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: