Skip to content

Commit

Permalink
Fix var check
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Oct 23, 2024
1 parent 30a1558 commit ef4b90d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sci/configs/cljs/spec/alpha.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
[sci.core :as sci]
[sci.ctx-store :as ctx]
[clojure.walk :as walk]
[clojure.core :as c])
[clojure.core :as c]
[sci.lang])
(:require-macros [sci.configs.macros :as macros]))

(def sns (sci/create-ns 'cljs.spec.alpha nil))
Expand All @@ -24,7 +25,7 @@
(defn- ->sym
"Returns a symbol from a symbol or var"
[x]
(if (var? x)
(if (instance? sci.lang.Var x)
(symbol (str x))
x))

Expand Down

0 comments on commit ef4b90d

Please sign in to comment.