Skip to content

Commit

Permalink
use bound-fn in malli.dev/start! to preserve *out*
Browse files Browse the repository at this point in the history
  • Loading branch information
aiba authored Sep 14, 2023
1 parent 5da25bc commit 8a51f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/malli/dev.clj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
([options]
(with-out-str (stop!))
(mi/collect! {:ns (all-ns)})
(let [watch (fn [_ _ old new]
(let [watch (bound-fn [_ _ old new]
(->> (for [[n d] (:clj new)
:let [no (get-in old [:clj n])]
[s d] d
Expand Down

0 comments on commit 8a51f16

Please sign in to comment.