Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Jul 23, 2024
1 parent dfadc12 commit 6518aab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sci/impl/analyzer.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,11 @@
;; return a vector
identity
vector expr m)
(set? expr) (analyze-vec-or-set ctx set hash-set expr m)
(set? expr) (analyze-vec-or-set ctx set
#?(:clj #(clojure.lang.PersistentHashSet/createWithCheck %&)
:cljs #(PersistentHashSet.createWithCheck (into-array %&))
:default vector)
expr m)
(seq? expr) (if (seq expr)
(analyze-call ctx expr m top-level?)
;; the empty list
Expand Down

0 comments on commit 6518aab

Please sign in to comment.