ClojureScript

{x :foo y :bar} can produce a map with a duplicate key

Details

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

Description

Similar to CLJS-583:

(def x 1)
(def y 1)
{x :foo y :bar}
;= {1 :foo, 1 :bar}

Patch forthcoming.

Activity

Hide
Michał Marczyk added a comment -

Fix and test.

Show
Michał Marczyk added a comment - Fix and test.
Hide
David Nolen added a comment -

Where is array-has-duplicates? defined, I don't see it in the patch.

Show
David Nolen added a comment - Where is array-has-duplicates? defined, I don't see it in the patch.
Hide
Michał Marczyk added a comment -

In CLJS-583, this one builds on top of that. I mentioned it there but forgot here, sorry.

Show
Michał Marczyk added a comment - In CLJS-583, this one builds on top of that. I mentioned it there but forgot here, sorry.
Hide
David Nolen added a comment - - edited
Show
David Nolen added a comment - - edited see CLJS-516
Hide
Michał Marczyk added a comment -

Patch applicable on top of new patch for CLJS-583 (which applies on top of CLJS-516, which applies to current master).

Show
Michał Marczyk added a comment - Patch applicable on top of new patch for CLJS-583 (which applies on top of CLJS-516, which applies to current master).

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: