Closed
Description
{:a 1 :a 2}
parses without error in edn-java
whereas
user=> (clojure.edn/read-string "{:a 1 :a 2}")
IllegalArgumentException Duplicate key: :a clojure.lang.PersistentArrayMap.createWithCheck (PersistentArrayMap.java:71)
The edn spec states that keys should appear "at most once" so I think an error should be reported in this scenario.
Metadata
Metadata
Assignees
Labels
No labels