Skip to content

Commit

Permalink
#822: find-var
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Oct 31, 2022
1 parent 9f04557 commit 29e7589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/sci/impl/namespaces.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions test/sci/namespaces_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 29e7589

Please sign in to comment.