We're updating the issue view to help you get more done. 

Make clojure.spec.alpha reloadable

Description

When reloading clojure.spec.alpha (stest/instrument) no longer instruments spec'ed functions.

Repro:

1 2 3 4 5 6 7 8 9 10 11 12 13 $ clj -m cljs.main -re node -r cljs.user=> (require '[clojure.spec.alpha :as s]) nil cljs.user=> (defn foo [x]) #'cljs.user/foo cljs.user=> (s/fdef foo :args (s/cat :x int?)) cljs.user/foo cljs.user=> (require '[clojure.spec.test.alpha :as stest]) nil cljs.user=> (require '[clojure.spec.alpha :as s] :reload) nil cljs.user=> (stest/instrument) []

Environment

None

Status

Assignee

David Nolen

Reporter

Michiel Borkent

Labels

Approval

Accepted

Patch

Code

Priority

Major