File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ returns the set of all symbols naming vars in those nses."
4646 [[quote s] opts]
4747 (let [v (ana-api/resolve &env s)]
4848 (when v
49- (swap! instrumented-vars conj v )
49+ (swap! instrumented-vars conj ( :name v) )
5050 `(let [checked# (instrument-1* ~s (var ~s) ~opts)]
5151 (when checked# (set! ~s checked#))
5252 '~(:name v)))))
@@ -55,7 +55,7 @@ returns the set of all symbols naming vars in those nses."
5555 [[quote s]]
5656 (let [v (ana-api/resolve &env s)]
5757 (when v
58- (swap! instrumented-vars disj v )
58+ (swap! instrumented-vars disj ( :name v) )
5959 `(let [raw# (unstrument-1* ~s (var ~s))]
6060 (when raw# (set! ~s raw#))
6161 '~(:name v)))))
@@ -133,8 +133,8 @@ Returns a collection of syms naming the vars unstrumented."
133133 [~@(->> (collectionize sym-or-syms)
134134 (map
135135 (fn [sym]
136- (when (symbol? symbol )
137- `(fn [] (unstrument-1 ~' sym)))))
136+ (when (symbol? sym )
137+ `(fn [] (unstrument-1 '~ sym)))))
138138 (remove nil?))])))
139139
140140; (defmacro run-tests
You can’t perform that action at this time.
0 commit comments