Skip to content

Commit

Permalink
-dynamic (var)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Apr 22, 2024
1 parent 2e798e6 commit 3e5fd2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/compojure/api/meta.clj
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,9 @@
(boolean
(or (and (seq? form)
(= 2 (count form))
(= 'var (first form)))
(= 'var (first form))
(when-some [v (resolve-var &env (second form))]
(not (:dynamic (meta v)))))
(when (symbol? form)
(let [r (resolve &env form)]
(or (class? r)
Expand Down

0 comments on commit 3e5fd2e

Please sign in to comment.