From c49cc44c9aaeb9bc747bda2004e4a0f54fe7120d Mon Sep 17 00:00:00 2001 From: Ambrose Bonnaire-Sergeant Date: Mon, 22 Apr 2024 13:40:03 -0500 Subject: [PATCH] var special is global --- src/compojure/api/meta.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compojure/api/meta.clj b/src/compojure/api/meta.clj index 642f8ffc..c061d4b3 100644 --- a/src/compojure/api/meta.clj +++ b/src/compojure/api/meta.clj @@ -815,7 +815,7 @@ (or (and (seq? form) (= 2 (count form)) (= 'var (first form)) - (when-some [v (resolve-var &env (second form))] + (when-some [v (resolve-var nil (second form))] (not (:dynamic (meta v))))) (when (symbol? form) (let [r (resolve &env form)]