From 29e7589e22f0102481e2ee98a74d0538756f4297 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Mon, 31 Oct 2022 18:12:05 +0100 Subject: [PATCH] #822: find-var --- src/sci/impl/namespaces.cljc | 2 +- test/sci/namespaces_test.cljc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sci/impl/namespaces.cljc b/src/sci/impl/namespaces.cljc index 42ebfc01..5003c4cc 100644 --- a/src/sci/impl/namespaces.cljc +++ b/src/sci/impl/namespaces.cljc @@ -3,7 +3,7 @@ (:refer-clojure :exclude [ex-message ex-cause eval read read-string require use load-string - find-var *1 *2 *3 *e #?(:cljs type) + *1 *2 *3 *e #?(:cljs type) bound-fn* with-bindings* vswap! #?(:cljs this-as) diff --git a/test/sci/namespaces_test.cljc b/test/sci/namespaces_test.cljc index 1a109ac0..99f44907 100644 --- a/test/sci/namespaces_test.cljc +++ b/test/sci/namespaces_test.cljc @@ -313,6 +313,7 @@ bar/bar"} ns-unmap #?(:clj remove-ns) find-ns + #?(:clj find-var) ns-publics isa?]] (is (true? (eval* (str/replace "(string? (:doc (meta #'{{v}})))" "{{v}}" (str v)))) v)))