edn: construct set/nested values from reader forms (49/1, only #uuid left)

The reader yields set literals as a form ({:jolt/type :jolt/set ...}); edn now
walks the parsed result and builds actual sets (recursing into maps/vectors;
lists stay lists, never evaluated). Untagged-struct guard so symbols/chars/tagged
literals pass through. 47 -> 49 in the battery; only #uuid (no uuid type) remains.
This commit is contained in:
Yogthos 2026-06-06 19:49:07 -04:00
parent 1bd676c242
commit 711a938943
2 changed files with 19 additions and 5 deletions

View file

@ -12,10 +12,10 @@
[["clojure/walk_test/walk.cljc" 34 true]
["clojure/zip_test/zip.cljc" 33 true]
["clojure/data_test/diff.cljc" 61 true]
# clojure.edn now reads via clojure.core/read-string with opts/:eof + nil/blank
# handling. The remaining 3 fails are sets (the reader yields a set FORM, not a
# constructed set) and #uuid — tracked in jolt-b7y. Guard the passing subset.
["clojure/edn_test/read_string.cljc" 47 false]])
# clojure.edn reads via clojure.core/read-string (opts/:eof + nil/blank) and
# constructs set/nested values. Only #uuid remains (no real uuid type) —
# jolt-b7y. Guard the passing subset.
["clojure/edn_test/read_string.cljc" 49 false]])
(def root "test/clojure-stdlib")
(def per-file-timeout 6)