Skip to content

Commit a127268

Browse files
cichlibbatsov
authored andcommitted
Don't shadow clojure.core/var
1 parent bc2b328 commit a127268

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cider/nrepl/middleware/track_state.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
(defn- var-meta-with-fn
2323
"Like clojure.core/meta but adds {:fn true} for functions and macros.
2424
Should only be used for vars."
25-
[var]
26-
(cond-> (meta var)
27-
(or (fn? @var) (instance? MultiFn @var)) (assoc :fn true)))
25+
[the-var]
26+
(cond-> (meta the-var)
27+
(or (fn? @the-var) (instance? MultiFn @the-var)) (assoc :fn true)))
2828

2929
(defn filter-core-and-get-meta
3030
"Remove keys whose values are vars in the core namespace."

0 commit comments

Comments
 (0)