#{x y} can produce set with duplicates

Description

This is because cljs.core.PersistentHashSet/fromArray does not check for duplicates. Clojure performs the check and throws an exception in the presence of duplicates; I'll replicate this behaviour in the forthcoming patch.

Environment

None

Assignee

Michał Marczyk

Reporter

Michał Marczyk

Labels

None

Approval

None

Patch

None

Priority

Major
Configure